40

浏览器缓存你了解么?

 5 years ago
source link: https://juejin.im/post/5b728da2e51d45662757d804
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. 为什么浏览器需要缓存 节约网络资源 加快页面访问速度 2. 缓存规则: 所有的缓存都是基于一套规则来决定什么时候使用缓存中的副本提供服务, 新鲜度和校验值两个维度来规定浏览器是否可以直接使用缓存中的副本,还是需要去源服务器获取更新的版本。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK