Mailing List Archive

how to set how long varnish will cache
Hello,

Sorry for the basic question!
How can I set that my object will be cached for 5 minutes in varnish?

Thanks
Jewel
Re: how to set how long varnish will cache [ In reply to ]
On 15. feb. 2012 10:35, Jewel Nuruddin wrote:
> Hello,
>
> Sorry for the basic question!
> How can I set that my object will be cached for 5 minutes in varnish?

The Varnish documentation is quite nice, and since you are asking a lot
of basic questions I recommend that you spend some time with it.

The answer to your question can be found here (as well as elsewhere in
the docs):
* https://www.varnish-cache.org/docs/3.0/tutorial/vcl.html
*
https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html

--
Bjørn


_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc