What heuristics do browsers use to cache resources not explicitly set to be cachable?

Let’s assume all browsers we are interested in are Internet Explorer 8 or newer (e.g. IE5 has some terrible behaviour with caching headers). There is only ONE standards based way of controlling caching (introduced with HTTP/1.1) – the Cache-Control HTTP header. Since at least 1996 IE has been using an opt-out policy for caching HTTPS … Read more

How do I leverage browser caching of .woff fonts?

This is doing the job for me, as Google page speed is no longer asking to fix it. The AddType is essential. # Fonts # Add correct content-type for fonts AddType application/vnd.ms-fontobject .eot AddType application/x-font-ttf .ttf AddType application/x-font-opentype .otf AddType application/x-font-woff .woff AddType image/svg+xml .svg # Compress compressible fonts # only uncomment if you dont … Read more