Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
fbc9e698
Commit
fbc9e698
authored
Feb 19, 2013
by
Per Buer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the subs chapter.
It's in it's own file now, based on the VCL manpage.
parent
214317ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
index.rst
doc/sphinx/index.rst
+1
-4
vcl-subs.rst
doc/sphinx/users-guide/vcl-subs.rst
+0
-25
No files found.
doc/sphinx/index.rst
View file @
fbc9e698
...
...
@@ -16,7 +16,7 @@ our tutorial - :ref:`tutorial-index`.
Contents:
.. toctree::
:maxdepth:
2
:maxdepth:
1
installation/index.rst
tutorial/index.rst
...
...
@@ -30,6 +30,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`search`
$Id$
doc/sphinx/users-guide/vcl-subs.rst
deleted
100644 → 0
View file @
214317ae
vcl_recv
~~~~~~~~
vcl_recv (yes, we're skimpy with characters, it's Unix) is called at
the beginning of a request, after the complete request has been
received and parsed. Its purpose is to decide whether or not to serve
the request, how to do it, and, if applicable, which backend to use.
In vcl_recv you can also alter the request. Typically you can alter
the cookies and add and remove request headers.
Note that in vcl_recv only the request object, req is available.
vcl_fetch
~~~~~~~~~
vcl_fetch is called *after* a document has been successfully retrieved
from the backend. Normal tasks her are to alter the response headers,
trigger ESI processing, try alternate backend servers in case the
request failed.
In vcl_fetch you still have the request object, req, available. There
is also a *backend response*, beresp. beresp will contain the HTTP
headers from the backend.
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