browser-cache
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
Clear browser cache in Angular
When you are building the application using ng build, you should use the following flag: –outputHashing=all This is to enable cache-busting. This adds a hash to every single built file such that the browser is forced to load the latest version whenever you have uploaded a new version to your servers. Threfore, one way to … 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
Firefox addon to remove cache and cookies of one domain?
Preferences → Privacy → remove individual cookies They are grouped by domain, and you can eliminate all cookies from selected domain with one click. Update: Option → Privacy → remove individual cookies
How can I read Chrome Cache files?
EDIT: The below answer no longer works see here In Chrome or Opera, open a new tab and navigate to chrome://view-http-cache/ Click on whichever file you want to view. You should then see a page with a bunch of text and numbers. Copy all the text on that page. Paste it in the text box … Read more
Are there Firefox keyboard shortcuts to clear the cache?
I think Ctrl+Shift+Delete takes out all private data, including the cache. Heres a link that’ll tell you how to set up specific options.
How to clear a Service Worker cache in Firefox?
Type this in the address bar of Firefox and deregister the service workers you want. about:debugging You can scroll down to Service Workers section or find using Ctrl+f or Cmd+f for that text.
How to tell if an XMLHTTPRequest hit the browser cache
From the XMLHttpRequest spec: For 304 Not Modified responses that are a result of a user agent generated conditional request the user agent must act as if the server gave a 200 OK response with the appropriate content. In other words, the browser will always give status code 200 OK, even for requests that hit … Read more
Can I force .htaccess to refresh?
If you’re using RewriteRule, just use R instead of R=301. For other purposes, you’ll have to clear your browser cache whenever you change a redirect. from https://stackoverflow.com/a/7749784/1066234