1
vote
1answer
885 views

How to configure Varnish not to cache a particular folder?

I would like to set up Varnish as reverse proxy cache for Apache. How can I setup Varnish so that it does not cache content from a particular folder (and its subfolders), let's say ...
0
votes
0answers
73 views

How to prevent nginx from caching certain files?

Is it possible to configure nginx to never cache certain files? I have two files on the root directory, index.html and list.json, and I want to disable caching for them completely. Can this be done by ...
1
vote
1answer
159 views

Why does this HTTP header configuration cause browsers to always perform If-Modified-Since requests?

On our server, we have configured http response headers as follows: Cache-Control:max-age=28800, must-revalidate # (8 hours) Connection:Keep-Alive Date:Wed, 24 Apr 2013 21:36:19 GMT ...
0
votes
1answer
360 views

How to tell nginx to honor backend's cache?

I'm using php-fpm with nginx as http server (I don't know much about reverse proxies, I just installed it and didn't touch anything), without Apache nor Varnish. I need nginx to understand and honor ...
0
votes
4answers
314 views

HTTP resource caching / fetching

I'm trying to optimise a page, and I'm seeing some strange behaviour. Each time I click on a link to the page, all resources are fetched from the server, responding with 200s. However, when I refresh ...
9
votes
1answer
1k views

Stop IIS 7.5 From Sending Out Cache-Control Max-Age on Error Codes

I have some static content with cache control Max-Age headers attached to it so clients will cache the static content. However, IIS 7.5 still sends this header out when there are error responses ...
2
votes
1answer
2k views

I want static content cached, but browsers keep requesting it

I've got an IIS 7.5 site with caching turned on for javascript and css content directories. All requests to these files use a query string with the app version number, so I just want it to cache ...
2
votes
2answers
4k views

How to make HTTP Cache Headers Work

Can someone please help me with a HTTP caching question? I thought that if I set the "Expires" and "Cache-Control:max-age" request headers, then a browser wouldn't make a GET request until after the ...
0
votes
2answers
346 views

Why isn't this HTTP response cached?

Below are the request and response headers for a page in my web application: Request Headers: GET http://my-server/myapp/mypage.aspx?myid=123 HTTP/1.1 Accept: */* Accept-Language: en-US User-Agent: ...
0
votes
1answer
225 views

Do all web caches understand the “Cache-Control” HTTP header?

I'd like to avoid the "Expires" header, and use "Cache-Control" only - or maybe the other way around. The headers will account for a significant percentage of my traffic, so I'd prefer not to "use ...
5
votes
5answers
269 views

Identical traffic

I am running an application server and logging all requests for analysis purposes later. One interesting trend I noticed last night was, I had a visitor from Texas on FIOS share identical traffic ...
2
votes
3answers
960 views

How to ignore query parameters in web cache?

Google Analytics use some query parameters to identify campaigns and to do cookie control. This is all handled by javascript code. Take a look at the following example: ...
1
vote
1answer
3k views

HTTP caching headers: how should must-revalidate work?

Using trac, I'm getting a response with the following header: Cache-control: must-revalidate Moreover, no 'Expires' header is being sent. Our local proxy, however, is caching these responses, so ...