Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
3558ace0
Commit
3558ace0
authored
Sep 22, 2011
by
Andreas Plesner Jacobsen
Committed by
Tollef Fog Heen
Oct 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format all code examples
parent
83fb1b73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
upgrade.rst
doc/sphinx/installation/upgrade.rst
+8
-8
No files found.
doc/sphinx/installation/upgrade.rst
View file @
3558ace0
...
...
@@ -20,11 +20,11 @@ To simplify strings, the %-encoding has been removed. If you need non-printable
``log`` moved to the std vmod
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``log`` has moved to the std vmod:
``log`` has moved to the std vmod:
:
log "log something";
becomes
becomes
::
import std;
std.log("log something");
...
...
@@ -34,11 +34,11 @@ You only need to import std once.
purges are now called bans
~~~~~~~~~~~~~~~~~~~~~~~~~~
``purge()`` and ``purge_url()`` are now respectively ``ban()`` and ``ban_url()``, so you should replace all occurences:
``purge()`` and ``purge_url()`` are now respectively ``ban()`` and ``ban_url()``, so you should replace all occurences:
:
purge("req.url = " req.url);
becomes
becomes
::
ban("req.url = " + req.url);
...
...
@@ -84,22 +84,22 @@ 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;
becomes
becomes
::
hash_data(req.url);
``esi`` is replaced with ``beresp.do_esi``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You no longer enable ESI with ``esi``, so
You no longer enable ESI with ``esi``, so
::
esi;
in ``vcl_fetch`` becomes
in ``vcl_fetch`` becomes
::
set beresp.do_esi = true;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment