No-cache but still a HIT

Aanchal Gera aanchal.gera at gmail.com
Mon Oct 8 10:45:32 CEST 2012


Ohh, Is it!!!

So, what would be the best way to tell Varnish that I don't want to cache
an ESI fragment?

Regards,
Aanchal

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.
>
> --
> Andreas
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20121008/1ad9e26e/attachment.html>


More information about the varnish-misc mailing list