Mobile app version of vmapp.org
Login or Join
Vandalay111

: Can I expect browsers to cache static content served over SSL encryption? With all the talk about FireSheep I am thinking of switching my web applications to use full https accross the entire

@Vandalay111

Posted in: #Browsers #Cache #CacheControl #Https #StaticContent

With all the talk about FireSheep I am thinking of switching my web applications to use full https accross the entire site. However, I am concerned about caching. I use a lot of JavaScript, CSS files, images, and other static content that I expect the browser to cache. If it doesn't that could mean significant delays for users.

Is there a way to get browsers to cache static content served via SSL? Will the cache-control: public HTTP header help? How do the different browsers handle this? Do they never cache the data? Do they cache for a single browser session?

I don't want to serve the static content from an unsecured connection if that means some browsers will put up the warning that some resources are not secure. Is there an alternative solution?

Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

This stackoverflow answer tells you everything you need to know.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme