No-cache but still a HIT
omegabk at gmail.com
Mon Oct 8 12:20:27 CEST 2012
Varnish takes care of the s-maxage, you have to send it on your header to specify the duration of the TTL
Sent from my iPhone
On 8 oct. 2012, at 10:45, Aanchal Gera <aanchal.gera at gmail.com> wrote:
> Ohh, Is it!!!
> So, what would be the best way to tell Varnish that I don't want to cache an ESI fragment?
> On Mon, Oct 8, 2012 at 2:08 PM, Andreas Plesner Jacobsen <apj at mutt.dk> wrote:
>> On Mon, Oct 08, 2012 at 02:03:55PM +0530, Aanchal Gera wrote:
>> > I have set the Cache-Control directives as "no-cache" for an ESI fragment.
>> > Even then, I receive a HIT from Varnish. How is this possible?
>> You'll have to implement no-cache in VCL yourself, it's not honored by default.
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc