configuration-templates – Diff between revs 16 and 17
?pathlinks?
Rev 16 | Rev 17 | |||
---|---|---|---|---|
Line 320... | Line 320... | |||
320 | |
320 | |
|
321 | # Pause ESI request and remove Surrogate-Control header |
321 | # Pause ESI request and remove Surrogate-Control header |
|
322 | if (beresp.http.Surrogate-Control ~ "ESI/1.0") { |
322 | if (beresp.http.Surrogate-Control ~ "ESI/1.0") { |
|
323 | unset beresp.http.Surrogate-Control; |
323 | unset beresp.http.Surrogate-Control; |
|
324 | set beresp.do_esi = true; |
324 | set beresp.do_esi = true; |
|
325 | set beresp.ttl = 24h; # Set 24h ESI |
325 | set beresp.ttl = 24h; # Set 24h ESI |
|
Line 326... | Line 326... | |||
326 | } |
326 | } |
|
327 | |
327 | |
|
328 | ### Set content expiration. |
328 | ### Set content expiration. |