how storing objects for a given time, regardless of expire info from back-end?

Dirk Taggesell dirk.taggesell at proximic.com
Mon Apr 12 18:27:18 CEST 2010


On 12.04.10 18:22, Rob S wrote:
> The example at
> http://varnish-cache.org/wiki/VCLExampleIgnoreCacheHeadersFromBackend
> should work fine.
> 
> In vcl_fetch, pop:
> 
>   set obj.ttl = 7200s;
> 
> and everything will be cached for 2hrs.

Thanks Rob, will try that.


-- 
mit freundlichen Gruessen
Dirk Taggesell
Systemadministrator Proximic GmbH




More information about the varnish-misc mailing list