name changes for the upcoming 4.0
Geoff Simmons
geoff at uplex.de
Mon Dec 5 12:23:52 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 12/ 5/11 11:34 AM, Per Buer wrote:
>
> 1) grace
>
> The Squid people call this stale-while-revalidate which I think is an
> OK name. It tells us a lot more than what grace does.
>
> 3) keep
>
> Today, grace is set in vcl_fetch also. I think it would make sense to
> change this to something like keep-past-ttl.
> stale-while-revalidate/grace would still be set in vcl_recv. This also
> makes sense for the upcoming IMS against backend.
"keep" has evolved through a few name changes since we first started
working on IMS, originally it was "conditional_ttl", which was
considered much too long, and then "cond_ttl", which was still too long.
I certainly see the value of names that describe themselves well, at the
price of length (after all, I've spent a lot of time as a Java
developer). But the Unix-y culture around Varnish tends to favor much
shorter names, at the price of being more opaque. The long names in Java
are not much of a problem when you're using an IDE with code completion.
No such luck if you're hacking VCL in vi.
Best,
Geoff
- --
** * * UPLEX - Nils Goroll Systemoptimierung
Schwanenwik 24
22087 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.10 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJO3KnHAAoJEOUwvh9pJNURKmsQAIIQVS6BQwBJOpHCQiy/x0Z8
CoK0SvnYHtjmqcWRivT8Fg0409U+fOZaOfzFVVHCaleEUDsTcpcvpSxVjfZaXRsh
Rd4ARdewGgSC3qGIPVWGLegFEfEHBy3U86VaESZ7IOdv2uTJvQBBFWM/ccSJXObU
rqS+dk/iPk+HmJhw3F5yvH4tLfELjIhYq/7fvY8Od6BCmJLGG47bfNeoN0ckEXV9
MtgjlsETBQaWxzhD4FGyseAlsIhSZ2gxeeGI4bjauZJJorqQ648G7RU0zy1EFZF/
/1J8Dn+KFF5WVJkBLaRWIUmYK3DEyZtSzIDcPYt8l7/KguGDCtXUrmHWEoQMUAoh
PS97pF0Gr+mil/Rg7XUvvphR+ApKkXuOPvuFrZQkHrDEMcRiIRfb+4WqxmZIDIif
dkLaF7NRPmvCIQeryrItgaFBK9IKFtDyjqver1/Wil2GJOng3gyECCaNVcgVfrGm
6WLCiCwlWRr8BisX98bGL3A6m8/rOS1NgMXLAdW94z5awSDaUbyG85F/KWMRhDmR
5YTi40QFMxfViU80lQ0782c2R3d13cXUz9HSBdHfWhFilJQaxSy8hWn6mII7WMSx
T1zTYCX7zxYAwNrmc5w60qyvx0FGmqWYibJd4Gn5pEAQ95alpJ5FWLpubeqcx/vb
k0hFzK66iNZW1QZBV/fN
=fVNW
-----END PGP SIGNATURE-----
More information about the varnish-dev
mailing list