Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
e4949298
Commit
e4949298
authored
Aug 28, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: move example to the right place
parent
ef0d8ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
vdp_pesi.vcc
src/vdp_pesi.vcc
+11
-13
No files found.
src/vdp_pesi.vcc
View file @
e4949298
...
...
@@ -229,7 +229,17 @@ threads required without relevant drawbacks
request are cacheable, and thus are highly likely to lead to cache
hits.
XXX ... Also see the discussion below for more detail.
Example::
# Activate serial mode at ESI level > 0, if we know that all includes
# in the response at this level lead to cacheable responses.
sub vcl_deliver {
pesi.activate();
if (req.esi_level > 0 && req.url == "/all/cacheable/includes") {
pesi.set(serial, true);
}
}
``thread``
----------
...
...
@@ -293,18 +303,6 @@ the following reasons:
In short, keeping ``thread`` at the default ``true`` should be the
right option, the alternative exists just in case.
Example::
# Activate serial mode at ESI level > 0, if we know that all includes
# in the response at this level lead to cacheable responses.
sub vcl_deliver {
pesi.activate();
if (req.esi_level > 0 && req.url == "/all/cacheable/includes") {
pesi.set(serial, true);
}
}
$Function VOID workspace_prealloc(BYTES min_free=4096, INT max_nodes=32)
...
...
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