【发布时间】:2017-06-15 15:52:25
【问题描述】:
我听说 Firefox 已经开始支持缓存控制扩展值immutable,这意味着“响应正文不会随时间而改变”。因此即使用户请求“完全刷新”页面或资源,浏览器仍然只响应本地缓存的副本,从而避免不必要的 304 或页面刷新,并且由于使用了缓存的内容,使页面加载更快,并减少负载在服务器上,因为大量请求甚至在它们发生之前就被停止了。
我正在尝试查看它的支持程度,并找到了不同的答案,因为 this mozilla page 表明它仅在 Firefox 中受支持,但 this resolved Chrome issue 表明它自 Chrome v54 起就可用。
哪些浏览器支持Cache-Control: immutable,什么时候开始支持的?
我第一次在 this Hacker News discussion 上读到它
这是一个ietf draft on it,原来的mozilla post announcing this beta feature being used by Facebook和this related mozilla post,以及来自一些谷歌浏览器开发者的document discussing the different types of reloading requests,它出现了。
【问题讨论】:
标签: google-chrome firefox cache-control