Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-esiextra
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-esiextra
Commits
0f544817
Commit
0f544817
authored
Nov 06, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bad rst by the bloke who wrote the varnish rst how-to
parent
286b3e0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
vmod_esiextra.vcc
src/vmod_esiextra.vcc
+7
-7
No files found.
src/vmod_esiextra.vcc
View file @
0f544817
...
@@ -15,8 +15,8 @@ DESCRIPTION
...
@@ -15,8 +15,8 @@ DESCRIPTION
This vmod contains tools to improve varnish ESI processing
This vmod contains tools to improve varnish ESI processing
capabilities like:
capabilities like:
* generate `
ETag
` backend response headers
* generate `
`ETag`
` backend response headers
* track the most recent `
Last-Modified
` date of all ESI includes.
* track the most recent `
`Last-Modified`
` date of all ESI includes.
It requires chunked encoding trailer support, which, as of 2017-11-06,
It requires chunked encoding trailer support, which, as of 2017-11-06,
has not been merged to varnish-cache. See
has not been merged to varnish-cache. See
...
@@ -28,16 +28,16 @@ Example
...
@@ -28,16 +28,16 @@ Example
import esiextra;
import esiextra;
# TODO
# TODO
See file `
vtc/esi_recursive_full.vtc
` for a full blown usage example.
See file `
`vtc/esi_recursive_full.vtc`
` for a full blown usage example.
$Function VOID bodyhash(HEADER)
$Function VOID bodyhash(HEADER)
Hash the received body and write a hex-encoded string into HEADER.
Hash the received body and write a hex-encoded string into HEADER.
This function may only be called in `
vcl_backend_response{}
` and can
This function may only be called in `
`vcl_backend_response{}`
` and can
only change `
beresp.http.*
` headers.
only change `
`beresp.http.*`
` headers.
If Trailer support is enabled, by setting `
beresp.http.Trailer
` to
If Trailer support is enabled, by setting `
`beresp.http.Trailer`
` to
contain the name of HEADER, it will be used.
contain the name of HEADER, it will be used.
Otherwise a placeholder header will be added to the cache object and
Otherwise a placeholder header will be added to the cache object and
...
@@ -49,7 +49,7 @@ enabled. This restriction may be lifted in the Future.
...
@@ -49,7 +49,7 @@ enabled. This restriction may be lifted in the Future.
$Object lm()
$Object lm()
Create an object to track the most reacent `
Last-Modified
` time during
Create an object to track the most reacent `
`Last-Modified`
` time during
the entirity of an ESI request including all sub-requests.
the entirity of an ESI request including all sub-requests.
$Method BOOL .inspect(TIME)
$Method BOOL .inspect(TIME)
...
...
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