https://hpbn.co / High Performance Browser Networking

中文版第一章 https://blog.csdn.net/xingtian713/article/details/11882203 中文翻译目录 https://me.csdn.net/xingtian713


Web perfornamce https://www.lynda.com/Web-Development-tutorials/Learning-Enterprise-Web-Application-Performance/590840-2.html Make cache your friend: Static assets must be cached with a far future expiration (CSS, JS, images). If it changes, you can change the URL, such as styles-v2.css, styles.css?v2, styles.css?20180102, etc. Cache expiration: explicit (preferred, absolute or relative, e.g. 5 days later), or implicit (set by browser, usually it checks the age of the asset and calculate a relative value). If cache hit but expired, browser would ask the server if modified. preload: high priority. prefetch: try to guess the next move of the user/session. low priority. no guarantee. Resource Hints: (in memory, off the screen, pr is probability). Start an action on mousedown (0.1s) or hover (desktop, 0.2s). https://www.lynda.com/Maximiliano-Firtman/282335-1.html

CORS http://performantcode.com/web/do-you-really-know-cors

三次握手 四次挥手 http://blog.jobbole.com/114633/