浏览器的主要组成部分有哪些?
What are the main components of a browser?
- *考察点:浏览器架构基础。*
共 45 道题目
What are the main components of a browser?
What is DOM? How is the DOM tree constructed?
How does the browser parse HTML documents?
What is CSSOM? What is its relationship with DOM?
What is the browser rendering process?
What are repaint and reflow?
What operations trigger reflow? How to avoid them?
What are event bubbling and event capturing?
How to prevent event bubbling and default behavior?
What are the browser storage methods? What's the difference between localStorage and sessionStorage?
What are the functions and limitations of cookies?
What is the same-origin policy? Why is it needed?
What are the common cross-origin solutions?
What is browser caching? What types are there?
What's the difference between strong cache and negotiated cache?
What is the critical rendering path? How to optimize it?
How does JavaScript execution mechanism work? What is the event loop?
What's the difference between macro tasks and micro tasks? What's the execution order?
How does the browser's garbage collection mechanism work?
What situations cause memory leaks? How to detect and avoid them?
What is the browser's multi-process architecture? What are the roles of each process?
What is GPU acceleration? How to trigger GPU acceleration?
What are the performance differences between CSS animations and JavaScript animations?
What is virtual scrolling? What is its implementation principle?
What is the browser's network request concurrency limit? How to optimize?
What are preloading and lazy loading? How to implement them respectively?
What is the role of Service Worker? How to use it?
What is CSP (Content Security Policy)? How to configure it?
How to handle browser compatibility issues?
What are the working principles and optimization mechanisms of V8 engine?
How is the browser's security sandbox mechanism implemented?
How to implement a high-performance virtual DOM?
What is the browser's resource priority strategy?
How to design a front-end monitoring system?
What are the first-screen optimization strategies for large applications?
How to implement large file upload in browsers?
How to analyze and optimize page rendering performance?
How to implement cross-page communication?