Faster network traffic

2.CDN Server Communication Content distribution network global Load Balancing (intelligent scheduling) Cache system (hit ratio and source ratio)Copy the code

More efficient data processing

Performance Analysis tool: AB (Apache Study) Log: Node -- Prof... Node --prof --process(decodes it into a readable log, where you can see how long each JS/CSS takes)Copy the code

Client rendering scheme CSR

=> Server rendering scheme SSR NuxT.js (vue.js) => Static site domain scheme SSG specific principles and cases can be viewed [front-end Performance Optimization 24 Suggestions (2020) (juejin. Cn)] (https://juejin.cn/post/6892994632968306702) invasion delete * * this is a big! 天安门事件Copy the code
1. Reduce HTTP requests
2. Use HTTP2 (not HTTP1)
Header compression link multiplexingCopy the code
3. Place the CSS at the head of the file and the JavaScript at the bottom