[PATCH] stale-while-revalidate updated

Geoff Simmons geoff at uplex.de
Thu Aug 28 13:02:11 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/28/2014 08:26 AM, Nils Goroll wrote:
> 
> This definitely is the case with fgs' proposed patch,
> vcl_backend_fetch still has the final word.

All right, then it really might be bike-shedding to worry too much
about whether it's done in the binary or in VCL -- although I'd come
down on the side of VCL, considering what phk had to say, because it
seems to me that s-w-r is about caching policy, not about the network
protocol.

But what's crucial in my view is that VCL can veto changes in
beresp.grace -- I'd worry a lot if that were left to backends and I
couldn't overrule them.

On 08/28/2014 08:57 AM, Poul-Henning Kamp wrote:
> -------- Btw, mildly related to this:  Long time ago we talked
> about being able to work on sub-parts of http headers:
> 
> if (INT(beresp.http.cache-control.max-age, 0) > 1200) { set
> beresp.http.cache-contro.max-age = 1200; }

+1
Cache-Control and other headers like Surrogate-Control are certain to
become more sophisticated and relevant for Varnish over time, and this
is just what we need to work with them.


Best,
Geoff
- -- 
** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753

http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJT/wwmAAoJEOUwvh9pJNURYHwP/3mqB9YrPhVvkGMhzbP3PF2u
P74ox82jOzYwlpth9D6gGkZK9mT9QfUKaOgbRDf03xvZaHsl4OOL+gXVCPCgNd+2
4A1jFrPgQDmJaKIKp3Mr8tOnH9eZ4RDAf3XVCfDLIYvzovj8rd5aBWBpQcvr5wgN
qON0PvxGB+FkmbOMWdJB4oA5CROPeeaRvXs4vacL6fUS5aS5BAYluHDwodh8JgHE
gywntNXOw3eHWAVRq54K6W2f3sEt+v6MmbzfSNZJ4XN8nAJ0n6mzI7URUHXBmFbX
L0q5mavUGfeV09IyWRmf66Gx5GhGk3YaBLrTbqvQyKH26nLlRbyrZhU0d6Mm0ui+
HqujW1k4yrERfv5UKLolelfXsMlMBELDqIwN0FtAUKKSGTi8RICmRhPNIYbCYmED
tMS67VHPrrlWirZzKDu1nWwWDRI9V2UFxgJgCrqu/XKOuCvkWKGM7c4QeeuOIVqM
LDVV76fwbMmn3ApsaEneT+03uNMVvUTPIK5s2fIDQWfwxglkeKFk7j3qn9ricQbz
YIbcAucxr3x/y/Teb0yzJZL1WuJKaUj4Fh07a97el8k7iOJ30djiQPYpdeImTTUz
nucAuQB8LSpIWtrZGxdFY77T0lDR/om1jmHwoOH/7uO5o2hXpLacnwmBb45qeToR
S2e9XIyBm9WB3URhk2I4
=6w7q
-----END PGP SIGNATURE-----



More information about the varnish-dev mailing list