clientside-caching

SSL Problem: Client Side Caching (JS/CSS)

被刻印的时光 ゝ 提交于 2019-12-10 00:30:35
问题 It appears that SSL causes a browser (at least FF 3.0.14) to re-request unchanged JavaScript and CSS every time, and doesn't cache either resource at all. That's a significant bandwidth increase in my case (about 80 KB instead of ~3 KB per request). How can I enforce/promote caching of my JS/CSS files the regular way on the client browser? 回答1: Try serving the Javascript from a non-SSL domain, see if that does the trick. 来源: https://stackoverflow.com/questions/1448065/ssl-problem-client-side

SSL Problem: Client Side Caching (JS/CSS)

*爱你&永不变心* 提交于 2019-12-04 21:08:12
It appears that SSL causes a browser (at least FF 3.0.14) to re-request unchanged JavaScript and CSS every time, and doesn't cache either resource at all. That's a significant bandwidth increase in my case (about 80 KB instead of ~3 KB per request). How can I enforce/promote caching of my JS/CSS files the regular way on the client browser? Try serving the Javascript from a non-SSL domain, see if that does the trick. 来源: https://stackoverflow.com/questions/1448065/ssl-problem-client-side-caching-js-css