大多数 A 级浏览器是否通过 https 将内容缓存到磁盘?
我在某处读到,仅缓存在内存中的 javascript 和 css 文件迟早会被其他内容推出。这是真的吗?关于兑现 SSL 对象还有其他问题吗?
I have read somewhere that javascript and css files that only get cached in memory sooner or later get pushed out by other content. Is this true? Are there any other issues regarding cashing SSL-objects?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果设置了 Cache-Control: Public 响应标头,则 Firefox 仅将 HTTPS 内容缓存到磁盘。
以下博客文章中有有关此和其他 HTTPS 调整技巧的更多信息:
http://blog.httpwatch.com/2009/01/15/https-performance-tuning/
Firefox only caches HTTPS content to disk if the Cache-Control: Public response header is set.
There's more information about this and other HTTPS tuning tips in the following blog post:
http://blog.httpwatch.com/2009/01/15/https-performance-tuning/
如果我没记错的话,JS 和 CSS 文件会被复制到临时目录中。这样做确实有助于浏览器加快下载过程。
我不确定是否将内存中的对象视为内存中的对象,我认为会话一结束就完成了。
If i am not wrong JS and CSS files get copied to the temp directory. With this it really helps for the browser to speed up the download process.
I am not sure regarding in memory object as its in memory i think as soon as the session is over its done.