Commit 2cd4ec22 authored by Andreas Plesner Jacobsen's avatar Andreas Plesner Jacobsen Committed by Tollef Fog Heen

Update docs for 3.0

Fixes #1032
parent 09245039
...@@ -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 */
} }
} }
......
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