You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,19 @@
3
3
## 1.3.0 - unreleased
4
4
### Added
5
5
6
-
- New `methods`setting which allows to configure the request methods which can be cached.
7
-
- New `respect_response_cache_directives`config setting to define specific cache directives to respect when handling responses.
6
+
- New `methods`option which allows to configure the request methods which can be cached.
7
+
- New `respect_response_cache_directives`option to define specific cache directives to respect when handling responses.
8
8
- Introduced `CachePlugin::clientCache` and `CachePlugin::serverCache` factory methods to easily setup the plugin with
9
-
the correct config settigns for each usecase.
9
+
the correct config settigns for each usecase.
10
10
11
11
### Changed
12
12
13
-
- The `no-cache` directive is now respected by the plugin and will not cache the response
13
+
- The `no-cache` directive is now respected by the plugin and will not cache the response. If you need the previous behaviour, configure `respect_response_cache_directives`.
14
14
15
15
### Deprecated
16
16
17
17
- The `respect_cache_headers` option is deprecated and will be removed in 2.0. This option is replaced by the new `respect_response_cache_directives` option.
18
+
If you had set `respect_cache_headers` to `false`, set the directives to `[]` to ignore all directives.
0 commit comments