[master] d6a5687 Document do_esi
Tollef Fog Heen
tfheen at varnish-cache.org
Wed Aug 10 11:32:25 CEST 2011
commit d6a5687f01bd09d96a868820c11beaf0c518ee5d
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Wed Aug 10 11:31:37 2011 +0200
Document do_esi
Put esi → do_esi in upgrade checklist, fix markup typo.
Fixes #974
diff --git a/doc/sphinx/installation/upgrade.rst b/doc/sphinx/installation/upgrade.rst
index 5cb5ad7..1a31733 100644
--- a/doc/sphinx/installation/upgrade.rst
+++ b/doc/sphinx/installation/upgrade.rst
@@ -78,7 +78,7 @@ becomes
``req.hash`` is replaced with ``hash_data()``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-You no longer append to the hash with +=, so
+You no longer append to the hash with ``+=``, so
set req.hash += req.url;
@@ -86,6 +86,17 @@ becomes
hash_data(req.url);
+``esi`` is replaced with ``beresp.do_esi``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+You no longer enable ESI with ``esi``, so
+
+ esi;
+
+in ``vcl_fetch`` becomes
+
+ set beresp.do_esi = true;
+
``pass`` in ``vcl_fetch`` renamed to ``hit_for_pass``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the varnish-commit
mailing list