On Mon, Oct 8, 2012 at 5:45 AM, Aanchal Gera <[email protected]> wrote:
> Ohh, Is it!!!
>
> So, what would be the best way to tell Varnish that I don't want to cache an
> ESI fragment?
In your case, something like this on vcl_recv:
if (req.http.cache-control ~ "no") { return (pass); }
If you have other pages that returns the http header cache-control:
no, you have to be more specific at the if statement (req.url or
something like that).
--
[]'s
Hugo
www.devin.com.br
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc