Chrome Won’t Cache Pages With Invalid SSL Certificates

Just a heads-up to save a lot of time investigating Google Chrome caching issues… Chrome won’t cache pages on https with an invalid SSL certificate!

Chrome Caching Issues

I recently implemented some page caching on a website that was using SSL. Everything looked right on the development server but for some reason Google’s Chrome web browser wasn’t obeying the cache and was requesting the page fresh each visit.

After much testing and head-scratching we discovered that Chrome wasn’t caching the pages because the development server was using a self-signed SSL certificate, which Chrome would then refuse to cache.

Hopefully this post might save someone from going insane investigating Chrome caching over invalid SSL!

Leave a Reply

Your email address will not be published. Required fields are marked *