Front-end performance optimization points (notes)
1. Reduce HTTP requests (merge requests).
2. Use CDN data acceleration (a local independent content distribution mechanism).
3. Use Expires headers reasonably to increase the cache effect.
4. Use dynamic or static compression technology, and compress the number of characters in text formats such as JS or HTML to reduce network consumption (use a single letter to define JS variables, remove extra spaces and format characters, or use JS compression tools to reduce JS length).
5. Store the style sheet CSS at the top of the page.
6. The JS script is stored at the bottom of the page.
7. Avoid CSS expressions.
8. Use external JavaScript and CSS.
9. Reduce DNS queries.
10. Simplify JavaScript to a certain extent.
Avoid redirecting.
12. Remove duplicate scripts.
13. Configure Etag tags.
Make AJAX cacheable.