Any chance to support "max-stale" request header in Varnish?

Michael Lee michael.lee at zerustech.com
Wed Nov 30 12:25:28 CET 2016


Thanks for your feedback.

On 11/30/16 5:59 PM, Dridi Boukelmoune wrote:
>> In fact, the "max-stale" header is almost identical to "grace", except that
>> the "max-stale" header is controlled by the client, while the "grace" is
> You can't trust clients, so Varnish will not likely honor clients'
> claims, like no-cache or max-stale. If you want to give control to the
> clients (which I don't recommend for the general case) you have do
> painfully do it yourself in VCL. It's a bit tedious to implement.
>
>> controlled by varnish. But still, unless we shut down the backend server,
>> there is no way to demonstrate the "grace" for single request either.
> There is, you can see the Age header going above the Cache-Control's
> mas-age when it happens.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>

-- 
Michael Lee / Managing Director / ZerusTech Ltd

Tel: +86 (21) 6107 3305

Mobile: +86 186 021 03818

Skype: zerustech

Email: michael.lee at zerustech.com

www.zerustech.com

Suite 9208
Building No. 9, 4361 HuTai Road
Shanghai
P.R.China
201906




More information about the varnish-misc mailing list