Commit 9317409
committed
This PR was merged into the 5.3 branch.
Discussion
----------
Use `s-maxage` instead of `max-age` for ESI
Seems like there is no reason to use `max-age` header for ESI blocks (https://book.varnish-software.com/4.0/chapters/VCL_Basics.html#the-initial-value-of-beresp-ttl).
So similarly to https://github.com/SerheyDolgushev/symfony-docs/blame/5.3/http_cache/ssi.rst#L108 it should use `s-maxage`.
Commits
-------
618c0bc Use s-maxage instead of max-age for ESI
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| 177 | + | |
| 178 | + | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
| |||
0 commit comments