Varnish takes care of the s-maxage, you have to send it on your header to 
specify the duration of the TTL

Best.


Sent from my iPhone

On 8 oct. 2012, at 10:45, 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?
> 
> Regards,
> Aanchal
> 
> On Mon, Oct 8, 2012 at 2:08 PM, Andreas Plesner Jacobsen <[email protected]> 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
>> [email protected]
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> 
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to