Commit 0f544817 authored by Nils Goroll's avatar Nils Goroll

bad rst by the bloke who wrote the varnish rst how-to

parent 286b3e0b
......@@ -15,8 +15,8 @@ DESCRIPTION
This vmod contains tools to improve varnish ESI processing
capabilities like:
* generate `ETag` backend response headers
* track the most recent `Last-Modified` date of all ESI includes.
* generate ``ETag`` backend response headers
* track the most recent ``Last-Modified`` date of all ESI includes.
It requires chunked encoding trailer support, which, as of 2017-11-06,
has not been merged to varnish-cache. See
......@@ -28,16 +28,16 @@ Example
import esiextra;
# 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)
Hash the received body and write a hex-encoded string into HEADER.
This function may only be called in `vcl_backend_response{}` and can
only change `beresp.http.*` headers.
This function may only be called in ``vcl_backend_response{}`` and can
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.
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.
$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.
$Method BOOL .inspect(TIME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment