caching php

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Oct 11 16:37:55 CEST 2006


In message <20061011142915.GC34666 at efrei.fr>, Cedric Tabary writes:
>On 11/10/2006 16:17, Anton Stonor wrote:
>> Cedric Tabary wrote:
>> 
>> >I removed the -t 1200, but my php is still cached !
>> 
>> Well, maybe the HTTP headers from the backend invites Varnish to cache. 
>> Or there _could_ be a bug in Varnish.
>> 
>> Could you post an example HTTP header of an object you expect Varnish 
>> not to cache?

Varnish has a "default TTL" which you can specify on the command line
or modify from the CLI.

Absent any instruction from the backend, Varnish will cache objects
that long.

Default is 2 minutes.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list