Recently in the interview to see the opportunity, by the way, a summary of the following questions:

millet

  • Enter the URL to the page rendering process
  • Search order of DNS cache
  • Cross-domain processing method; The principle of proxy solving cross-domain problems; Nginx forward proxy versus reverse proxy
  • Common HTTP status code; Differences between 301 and 302; What is the 304 status code; Browser caching; Differences between HTTP and HTTPS
  • CSS3 hardware acceleration mechanism
  • Principles of useState and React-Router
  • The functions, differences, and application scenarios of useMemo and useCallback
  • Js event loop mechanism, Node event loop mechanism
  • Page performance optimization; What is CDN and CDN’s back source mechanism?
  • Webpack packaging process, JS parsing process
  • What is BFC? Related content;
  • Front-end security related: what is CSRF, how to defend, (talk about cookie mechanism)
  • [‘1’, ‘2’, ‘3’]. Map (parseInt) Output content and mechanism

The tiger securities

  • How redux works
  • What are the common APIS of hook, useRef mode?
  • Write a hooks component that retrieves data every five seconds and updates it to the page
  • Write a method that prints a tree structure
  • What does Axios do, and how does axios implement it underneath? What request headers can AXIos set?
  • HTTP request related: Common HTTP request methods, and their usage scenarios and differences; What is a complex request?
  • What are the ways in which JS creates asynchronous requests? Cross-domain approach (JSONP, proxy, CORS)
  • CSS related: position properties, flex related settable properties; The realization idea of the wheel cast graph;
  • SessionStorage, localStorage, cookie; What other properties can cookies set besides key-value pairs?
  • What content-Types can be set for form submission

tencent

  • Webpack package optimization
  • Babel principle
  • Webpack principle
  • The difference between HTTPS and HTTP Features of HTTPS encryption algorithm
  • Front-end performance optimization
  • Front-end security: XSS attack, CSRF attack, man-in-the-middle attack
  • Js modular
  • Js event loop mechanism; Node event loop mechanism
  • The difference between arrow functions and ordinary functions