(ATS 4.1.1, Ubuntu Precise 64-bit, reverse proxy)

I wanted to test microcaching and I noticed that I can't seem to get ATS to
revalidate under 3600 seconds. Tried with 4.0.2 too with similar results.

Anything I can think of for relevant configs (seems like pasting an entire
records.config would be too big, though I'll be happy to):

CONFIG proxy.config.http.cache.when_to_revalidate INT 0
CONFIG proxy.config.http.cache.heuristic_min_lifetime INT 1 # The only
setting I could find that was set to 3600, so I tried changing it

Here's an ATS reply for a page that I've got set up with an Expires of 10
seconds:

< HTTP/1.1 200 OK
< Date: Sun, 01 Dec 2013 15:45:34 GMT
< Content-Type: text/html
< Content-Length: 3
< Connection: keep-alive
< Server: Apache/2
< Last-Modified: Sun, 01 Dec 2013 06:59:50 GMT
< ETag: "3-4ec739c172273"
< Accept-Ranges: bytes
< Cache-Control: max-age=10
< Expires: Sun, 01 Dec 2013 15:44:21 GMT
< Age: 83
< Warning: 113 ApacheTrafficServer/4.0.2

A few minutes later it's up to Age: 282. I've got a packet capture to the
origin going and at no time did it attempt to revalidate.

I clearly have something misconfigured. I also noticed that error pages are
also being cached at 3600 seconds (let it run in a loop overnight and it
was 3600 seconds every time), despite:

CONFIG proxy.config.http.negative_caching_enabled INT 1
CONFIG proxy.config.http.negative_caching_lifetime INT 60


Anybody want to take a stab at what I'm messing up?

Reply via email to