32

前端缓存机制

 5 years ago
source link: https://juejin.im/post/5b0ea4f1518825155d66a97b
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
浏览器缓存步骤 1)浏览器在加载资源时,先根据这个资源的一些http header判断它是否命中强缓存,强缓存如果命中,浏览器直接从自己的缓存中读取资源,不会发请求到服务器。比如某个css文件,如果浏览器在加载它所在的网页时,这个css文件的缓存配置命中了强缓

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK