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
1bddcfa7
Commit
1bddcfa7
authored
Sep 01, 2011
by
Kristian Lyngstol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document hit_for_pass in the tutorial
parent
c14ced83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
vcl.rst
doc/sphinx/tutorial/vcl.rst
+9
-1
No files found.
doc/sphinx/tutorial/vcl.rst
View file @
1bddcfa7
...
@@ -58,7 +58,15 @@ The most common actions to return are these:
...
@@ -58,7 +58,15 @@ The most common actions to return are these:
*pass*
*pass*
When you return pass the request and subsequent response will be passed to
When you return pass the request and subsequent response will be passed to
and from the backend server. It won't be cached. pass can be returned from
and from the backend server. It won't be cached. pass can be returned from
both vcl_recv and vcl_fetch.
vcl_recv
*hit_for_pass*
Similar to pass, but accessible from vcl_fetch. Unlike pass, hit_for_pass
will create a hitforpass object in the cache. This has the side-effect of
caching the decision not to cache. This is to allow would-be uncachable
requests to be passed to the backend at the same time. The same logic is
not necessary in vcl_recv because this happens before any potential
queueing for an object takes place.
*lookup*
*lookup*
When you return lookup from vcl_recv you tell Varnish to deliver content
When you return lookup from vcl_recv you tell Varnish to deliver content
...
...
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