Varnish seeming to not respect mod_expires and mod_headers expires

Tollef Fog Heen tfheen at redpill-linpro.com
Mon Jan 25 10:04:54 CET 2010


]] ntwrkd 

| I read the tutorial at
| http://varnish.projects.linpro.no/wiki/VCLExampleLongerCaching which
| states that Varnish should respect the Expires headers; however, it
| doesn't seem to be inherited by my implementation.

[...]

|         set obj.ttl = 600s;

You override the TTL here, so you never let it use the Expires header
available.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-dev mailing list