[master] 3dd3f56 rework vars
Per Buer
perbu at varnish-cache.org
Tue Feb 19 17:25:55 CET 2013
commit 3dd3f56bbd883d3cc2415528293f6addf50f3c66
Author: Per Buer <perbu at varnish-software.com>
Date: Tue Feb 19 17:24:56 2013 +0100
rework vars
diff --git a/doc/sphinx/users-guide/vcl-variables.rst b/doc/sphinx/users-guide/vcl-variables.rst
index 10af0ab..7064bc0 100644
--- a/doc/sphinx/users-guide/vcl-variables.rst
+++ b/doc/sphinx/users-guide/vcl-variables.rst
@@ -8,16 +8,21 @@ object, stored in cache.
In VCL you should know the following structures.
+.. XXX: Needs verification
+
*req*
The request object. When Varnish has received the request the req object is
created and populated. Most of the work you do in vcl_recv you
do on or with the req object.
+*bereq*
+ The backend request object.
+
*beresp*
The backend respons object. It contains the headers of the object
comming from the backend. Most of the work you do in vcl_fetch you
do on the beresp object.
-*obj*
+*resp*
The cached object. Mostly a read only object that resides in memory.
- obj.ttl is writable, the rest is read only.
+ resp.ttl is writable, the rest is read only.
More information about the varnish-commit
mailing list