File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,25 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC
663.x
77===
88
9+ 3.1.0
10+ -----
11+
12+ ### Symfony HttpCache
13+
14+ * Add events ` PRE_FORWARD ` and ` POST_FORWARD ` to allow event listeners to alter
15+ the request before and after it is sent to the backend.
16+ * Changed CustomTtlListener to use the ` POST_FORWARD ` event instead of
17+ ` PRE_STORE ` . Using ` PRE_STORE ` , requests that are not considered cacheable by
18+ Symfony were never cached, even when they had a custom TTL header.
19+ * Add flag ` fallbackToSmaxage ` to ` CustomTtlListener ` to allow controlling
20+ fallback to ` s-maxage ` if custom TTL header is not defined on the response.
21+ * Fix: Do not call store if Response object is not longer cacheable after event
22+ listeners. If you use the custom TTL system, this is only a performance
23+ improvement, because the TTL of the response would still be 0. With a custom
24+ listener that changes the response explicitly to not be cached but does not
25+ change ` s-maxage ` , this bug might have led to caching responses that should not
26+ have been cached.
27+
9283.0.0
1029-----
1130
You can’t perform that action at this time.
0 commit comments