Top "Cache-control" questions

The HTTP `Cache-Control` header specifies directives which override default HTTP caching behaviour.

How to make Microsoft XmlHttpRequest honor cache control directive

i'm issuing a request using MSXML's XmlHttpRequest object: IXMLHttpRequest http = new XmlHttpRequest(); http.open("GET", "http://www.bankofcanada.ca/stat/…

xmlhttprequest msxml cache-control
Apache: set max-age or expires in .htaccess for directory

I have a handful of directories with content which will never change. Is it possible to create .htaccess file which …

apache cache-control mod-expires
How to prevent content being displayed from Back-Forward cache in Firefox?

Browser: Firefox 6.0 I've Page A with the following setup to make sure the content is NOT stored in the bfcache …

firefox cache-control browser-cache
Java Web Start - How to clear cache (or update the app from user's perspective)

After the JNLP gets downloaded in the browser it becomes cached so it doesn't need to be downloaded again, which …

java jnlp cache-control java-web-start
Retrofit - Okhttp client How to cache the response

I'm trying to cache the response of http calls done by Retrofit(v 1.9.0) with OkHttp(2.3.0). It always made the network …

java android retrofit cache-control okhttp
Cache-Control headers repeated; valid or not? (Nginx)

I've got a resource in my Nginx that is configured like this: location ~ foo\.js$ { add_header Cache-Control public; expires 1…

nginx cache-control
Nginx add_header and cache control

When you use the add_header directive in nginx, the header is added to the response coming from the origin …

caching nginx reverse-proxy cache-control
Cache-control max-age meta tag not registering

I've put this in my head section. It appears in the page source in the browser. <meta http-equiv="Cache-Control" …

http-headers meta-tags cache-control html-head
Expires vs max-age, which one takes priority if both are declared in a HTTP response?

If a HTTP response that returns both Expires and max-age indications which one is used? Cache-Control: max-age=3600 Expires: Tue, 15 May 2008 07:19:00 …

http http-headers cache-control http-caching
Get Asp.net/iis to set Cache-control:max-age for static files

We have a Webforms project with url routing. I have defined exception routes for images and css-files as routes.Add("…

asp.net image caching cache-control