[master] 92c2a3f document keep

Nils Goroll nils.goroll at uplex.de
Thu Oct 9 17:07:51 CEST 2014


commit 92c2a3f2ee023aad4d6f18fb5d1c1cde5ef7b624
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Oct 9 17:07:08 2014 +0200

    document keep

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 98d54ce..e82d610 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -506,6 +506,13 @@ sp_variables = [
 		'DURATION',
 		( 'backend_response', 'backend_error'),
 		( 'backend_response', 'backend_error'), """
+		Set to a period to enable conditional backend requests.
+
+		The keep time is cache lifetime in addition to the ttl.
+
+		Objects with ttl expired but with keep time left may be used
+		to issue conditional (If-Modified-Since / If-None-Match)
+		requests to the backend to refresh them.
 		"""
 	),
 	('beresp.backend',



More information about the varnish-commit mailing list