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
cd0f595b
Commit
cd0f595b
authored
Feb 24, 2012
by
Andreas Plesner Jacobsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more info about changes from 2.1 to 3.0. Thanks to xcir.net for inspiration.
parent
a502bae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
3 deletions
+53
-3
upgrade.rst
doc/sphinx/installation/upgrade.rst
+53
-3
No files found.
doc/sphinx/installation/upgrade.rst
View file @
cd0f595b
...
...
@@ -60,10 +60,10 @@ becomes::
}
}
``beresp.cacheable`` is gone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``beresp.cacheable``
and ``obj.cacheable``
is gone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
``beresp.cacheable`` is gone, and can be replaced with ``beresp.ttl > 0s``
``beresp.cacheable`` is gone, and can be replaced with ``beresp.ttl > 0s``
. Similarly ``obj.cacheable`` can be replaced with ``obj.ttl > 0s``.
returns are now done with the ``return()`` function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -111,6 +111,56 @@ The difference in behaviour of ``pass`` in ``vcl_recv`` and
different, you must now do ``return(hit_for_pass)`` when doing a pass
in ``vcl_fetch``.
Changes to runtime parameters
=============================
Deleted parameters
~~~~~~~~~~~~~~~~~~
``cache_vbe_conns`` and ``err_ttl`` has been removed.
New parameters
~~~~~~~~~~~~~~
The following parameters have been added, see man varnishd for reference:
* ``default_keep``
* ``expiry_sleep``
* ``fetch_maxchunksize``
* ``gzip_level``
* ``gzip_memlevel``
* ``gzip_stack_buffer``
* ``gzip_tmp_space``
* ``gzip_window``
* ``http_gzip_support``
* ``http_req_hdr_len``
* ``http_req_size``
* ``http_resp_hdr_len``
* ``http_resp_size``
* ``shortlived``
* ``thread_pool_workspace``
* ``vcc_err_unref``
* ``vcl_dir``
* ``vmod_dir``
Changed default values
~~~~~~~~~~~~~~~~~~~~~~
The following parameters have new defaults:
* ``ban_lurker_sleep`` changed from 0 to 0.01 seconds, enabling the ban lurker by default.
* ``connect_timeout`` changed from 0.4 to 0.7 seconds.
* ``log_hashstring`` changed from off to on.
* ``send_timeout`` changed from 60 to 60 seconds.
* ``thread_pool_add_delay`` changed from 20 to 2 ms.
Changed parameter names
~~~~~~~~~~~~~~~~~~~~~~~
The following parameters have new names:
* ``http_headers`` has been renamed to ``http_max_hdr``.
* ``max_esi_includes`` has been renamed to ``max_esi_depth``.
* ``overflow_max`` has been renamed to ``queue_max``.
* ``purge_dups`` has been renamed to ``ban_dups``.
Changes to behaviour
====================
...
...
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