Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
701e5c35
Commit
701e5c35
authored
Sep 22, 2011
by
Andreas Plesner Jacobsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format all code examples
parent
60848023
Changes
1
Show 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 @
701e5c35
...
...
@@ -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