[master] cbb9269 document bereq.uncacheable and beresp.uncacheable
Nils Goroll
nils.goroll at uplex.de
Thu Oct 9 17:00:18 CEST 2014
commit cbb92690ff862590e89cbd1a6f73fddd8c0ac2c7
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Oct 9 17:00:10 2014 +0200
document bereq.uncacheable and beresp.uncacheable
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index c82ae0e..98d54ce 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -361,6 +361,16 @@ sp_variables = [
'BOOL',
( 'backend', ),
( 'backend', ), """
+ Indicates whether the object requested from the backend is
+ going to be uncacheable - either because the request was an
+ explicit pass from the client side or a hit on an uncacheable
+ ("hit for pass") object.
+
+ Setting this variable in vcl_backend_fetch makes the object
+ uncacheable.
+
+ Clearing the variable has no effect and will log the warning
+ "Ignoring attempt to reset bereq.uncacheable".
"""
),
('bereq.connect_timeout',
@@ -462,6 +472,13 @@ sp_variables = [
'BOOL',
( 'backend_response', 'backend_error'),
( 'backend_response', 'backend_error'), """
+ Inherited from bereq.uncacheable, see there.
+
+ Setting this variable makes the object uncacheable, which may
+ get stored as a hit-for-pass object in the cache.
+
+ Clearing the variable has no effect and will log the warning
+ "Ignoring attempt to reset beresp.uncacheable".
"""
),
('beresp.ttl',
More information about the varnish-commit
mailing list