Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-objesi
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
libvmod-objesi
Commits
82530f06
Commit
82530f06
authored
May 23, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add README
parent
82b39cf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
README.rst
README.rst
+62
-0
No files found.
README.rst
0 → 100644
View file @
82530f06
..
.. NB: This file is machine generated, DO NOT EDIT!
..
.. Edit vmod.vcc and run make instead
..
.. role:: ref(emphasis)
===========
VMOD objesi
===========
---------------------
Varnish objesi Module
---------------------
:Manual section: 3
SYNOPSIS
========
.. parsed-literal::
import objesi [from "path"]
BOOL is_esi()
DESCRIPTION
===========
This vmod specifically adds a way to determine if ESI processing is
not only enabled, but actually active for delivery of an object. It
basically compensates for the issue documented in
https://github.com/varnishcache/varnish-cache/issues/3002
For ESI delivery to be active, ``beresp.do_esi`` must have been
enabled when the respective object went into the cache, it must have
been enabled for ESI processing (see, for example the
``esi_disable_xml_check`` feature flag) and ``resp.do_esi`` must be
true.
Example::
import objesi;
sub vcl_deliver {
if (objesi.is_esi) {
# ... do things to happen only for esi
}
}
.. _vmod_objesi.is_esi:
BOOL is_esi()
-------------
Return true if ESI processing is active.
May only be called from ``vcl_deliver {}``.
SEE ALSO
========vcl\(7),varnishd\(1)
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