configuration-templates
/varnish/4/default.vcl |
---|
@@ -322,7 +322,7 @@ |
if (beresp.http.Surrogate-Control ~ "ESI/1.0") { |
unset beresp.http.Surrogate-Control; |
set beresp.do_esi = true; |
set beresp.ttl = 24h; # Set 24h ESI |
set beresp.ttl = 24h; # Set 24h ESI |
} |
### Set content expiration. |