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
965857f2
Commit
965857f2
authored
Feb 14, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve beresp.filters doc
parent
4709fae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
1 deletion
+42
-1
vcl_var.rst
doc/sphinx/reference/vcl_var.rst
+42
-1
No files found.
doc/sphinx/reference/vcl_var.rst
View file @
965857f2
...
...
@@ -938,7 +938,48 @@ beresp.filters
Writable from: vcl_backend_response
List of VFP filters the beresp.body will be pulled through.
List of Varnish Fetch Processor (VFP) filters the beresp.body
will be pulled through.
VFP Filters change the body before going into the cache and/or
being handed to the client side, where it may get processed
again by resp.filters.
The following VFP filters exist in varnish-cache:
* ``testgunzip``: Test if a body is valid gzip and refuse it
otherwise
* ``gunzip``: Uncompress gzip content
* ``esi``: ESI-process plain text content
* ``esi_gzip``: Save gzipped snippets for efficient
ESI-processing
This filter enables stitching together ESI from individually
gzipped fragments, saving processing power for
re-compression on the client side at the expense of some
compression efficiency.
Additional VFP filters are available from VMODs.
By default, beresp.filters is constructed as follows:
* ``gunzip`` gets added for gzipped content if
``beresp.do_gunzip`` or ``beresp.do_esi`` are true.
* ``esi_gzip`` gets added if ``beresp.do_esi`` is true
together with ``beresp.do_gzip`` or content is already
compressed.
* ``esi`` gets added if ``beresp.do_esi`` is true
* ``gzip`` gets added for uncompressed content if
``beresp.do_gzip`` is true
* ``testgunzip`` gets added for compressed content if
``beresp.do_gunzip`` is false.
obj
~~~
...
...
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