default_ttl applied even when Expires exist

Ricardo Newbery ric at digitalmarbles.com
Sun Apr 20 11:44:50 CEST 2008


Noticed some odd behavior.

On page with an already-expired Expires header (Expires: Sat, 1 Jan  
2000 00:00:00 GMT) and no other cache control headers, a stock install  
of Varnish 1.1.2 appears to be applying the built-in default_ttl of  
120 seconds when instead it should just immediately expire.  There is  
nothing in the vcl doing this so it appears that Varnish is just  
ignoring the Expires header.

Can anyone else confirm?

Ric





More information about the varnish-misc mailing list