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
2cd4ec22
Commit
2cd4ec22
authored
Oct 13, 2011
by
Andreas Plesner Jacobsen
Committed by
Tollef Fog Heen
Oct 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for 3.0
Fixes #1032
parent
09245039
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
esi.rst
doc/sphinx/tutorial/esi.rst
+2
-2
No files found.
doc/sphinx/tutorial/esi.rst
View file @
2cd4ec22
...
@@ -48,9 +48,9 @@ For ESI to work you need to activate ESI processing in VCL, like this:::
...
@@ -48,9 +48,9 @@ For ESI to work you need to activate ESI processing in VCL, like this:::
sub vcl_fetch {
sub vcl_fetch {
if (req.url == "/test.html") {
if (req.url == "/test.html") {
set beresp.do_esi = true; /* Do ESI processing */
set beresp.do_esi = true; /* Do ESI processing */
set
obj.ttl = 24 h;
/* Sets the TTL on the HTML above */
set
beresp.ttl = 24 h;
/* Sets the TTL on the HTML above */
} elseif (req.url == "/cgi-bin/date.cgi") {
} elseif (req.url == "/cgi-bin/date.cgi") {
set
obj.ttl = 1m;
/* Sets a one minute TTL on */
set
beresp.ttl = 1m;
/* Sets a one minute TTL on */
/* the included object */
/* the included object */
}
}
}
}
...
...
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