0
votes
1answer
39 views
+100

Update Cache-Control max-age when srcache returns response from cache

I have configured Nginx to use srcache (along with the redis and redis2 modules). Server-side caching works great. My application responds with the appropriate Expires and Cache-Control headers, and ...
1
vote
1answer
145 views

Nginx: How to set expiration for 404 responses?

My nginx server acts as a proxy for another server, which sometimes returns 404s. I want the 404 responses to be cacheable, just like 200 responses. However, I cannot use expires, because the ...
0
votes
1answer
173 views

Tell browsers to cache until last modified date changes? [closed]

My web site consists of static HTML files which are usually republished once per day, and sometimes more. I'm using Apache. In the vhost settings for my site, I'd like to tell browsers to cache HTML ...
1
vote
1answer
141 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
278 views

Have set Expiration time: Still getting “Query string present but no explicit expiration time”

I have one local Apache instance running with mod_cache (+ disk & mem) enabled, and it seems to cache content from my appserver fine. My app server sets Expiration headers and Last-modified. Yet, ...
1
vote
1answer
488 views

IIS 7: Expires header for specific files

I have this configuration for all static content on the site in the root directory: <configuration> <system.webServer> <staticContent> <clientCache ...
0
votes
1answer
446 views

Should Squid honor no-cache and s-maxage in reverse proxy mode?

I'm using Squid 2.7.STABLE9, which I compiled from source. My understanding of no-cache is that the cache must revalidate with the origin server before serving up a cached copy of the resource, and ...
0
votes
2answers
331 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
223 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 ...