[4.0] d68e896 document keep

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 15 16:35:39 CET 2015


commit d68e89668dcaa9c7d41d82c52909747e3dd74c42
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 44c0c55..bf94c69 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -499,6 +499,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.name',



More information about the varnish-commit mailing list