简体   繁体   English

我可以在浏览器中缓存https资源吗?

[英]can I cache https resources in browser?

I am currently working on improving the performance of my asp.net mvc 4 application. 我目前正在努力改善asp.net mvc 4应用程序的性能。 The entire site is in https so all static resources such as javascript, css, images etc are supplied over https. 整个站点都位于https中,因此所有静态资源(例如javascript,css,图片等)均通过https提供。

I have read different feedback in that its not possible to cache such resources in the clients browser - is this correct? 我读到了不同的反馈,因为它无法在客户端浏览器中缓存此类资源-这是正确的吗? Is there a way around it? 有办法解决吗?

Yes

Default is yes for IE and Firefox. 对于IE和Firefox,默认值为是。 Belive same for Chrome. 相信Chrome也一样。

To check settings. 检查设置。

IE : Options, Advanced, "do not save encrypted pages to disk" IE:选项,高级,“不将加密的页面保存到磁盘”

Firefox : about:config, browser.cache.disk_cache_ssl Firefox:about:config,browser.cache.disk_cache_ssl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM