HTTPS and Cache

Does browser cache HTTPS responses?

This was a question I had while doing development.  Giving below my findings,

Did some debugging with Firebug and Fiddler,

Firebug was showing 304(not modified) response code for the files from the server over https

Fiddler was showing 200 response code for the files, and it didn’t show the response headers

Also I searched and found these articles, which discuss about this condition

http://stackoverflow.com/questions/174348/will-web-browsers-cache-content-over-https

http://blog.pluron.com/2008/07/why-you-should.html

http://blog.httpwatch.com/2009/01/15/https-performance-tuning/

My conclusion is browser is caching HTTPS reponses, if the response headers have the required cache related headers

Note: Here is a blog post about HTTP caching

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: