Open Chenjiayuan195 opened 4 years ago
1.强缓存:Expires 和 cache-control(如有则忽略Expires)在一定时间内不需要请求 no-store 禁用缓存 no-cache,可以在本地缓存,每次请求进行协商缓存
2.协商缓存 last-modified和if-modified-since 最后修改的时间只精确到秒 Etag 和 if-None-Match 比较标识(优先级最高)
1.强缓存:Expires 和 cache-control(如有则忽略Expires)在一定时间内不需要请求 no-store 禁用缓存 no-cache,可以在本地缓存,每次请求进行协商缓存
2.协商缓存 last-modified和if-modified-since 最后修改的时间只精确到秒 Etag 和 if-None-Match 比较标识(优先级最高)