Commit d9f57799 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp
parents 409308d1 d6a5687f
......@@ -57,7 +57,7 @@ becomes
``beresp.cacheable`` is gone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``beresp.cacheable`` is gone, and can be replaced with ``beresp.ttl > 0``
``beresp.cacheable`` is gone, and can be replaced with ``beresp.ttl > 0s``
returns are now done with the ``return()`` function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......@@ -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``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment