[PATCH] backend conditional requests second release
Geoff Simmons
geoff at uplex.de
Fri Mar 4 15:39:10 CET 2011
Hello all,
Here's the second release of the "If-Modified-Since" function (backend
conditional requests).
The main changes since the version from March 1st:
- now using phk's EXP_* interface for managing the timers, and extends
it to manage conditional timeout
- the name "conditional_timeout" is shortened to "cond_ttl", as
discussed on IRC
- compiles without warnings (does not fail on -Werror)
- fixed the problem that beresp.ttl was always -1 immediately after a
304 validation
- now properly delivers validated gzipped content to clients (the last
three issues spotted by Dmitry Panov, thanks Dmitry)
- eliminated the stats counter cache_cond_not_modified, which was
redundant because Varnish already has fetch_304
- re-named the other new counter to cond_not_validated, which is now
incremented for any non-304 backend response to a conditional request
We'd be grateful for any more testing and feedback!
Best,
Geoff Simmons
--
** * * 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backend_conditionals_2nd_release.patch
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110304/fef7f4b8/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 896 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110304/fef7f4b8/attachment-0003.pgp>
More information about the varnish-dev
mailing list