10000 feature #17951 [FrameworkBundle] Add `framework.http_cache.skip_respo… · symfony/symfony-docs@8dce54d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8dce54d

Browse files
committed
feature #17951 [FrameworkBundle] Add framework.http_cache.skip_response_headers option (alexandre-daubois)
This PR was merged into the 6.3 branch. Discussion ---------- [FrameworkBundle] Add `framework.http_cache.skip_response_headers` option Waiting code merge of symfony/symfony#49480 Fixes #17941 Commits ------- 7341fb5 [FrameworkBundle] Add `framework.http_cache.skip_response_headers` option
2 parents 2730377 + 7341fb5 commit 8dce54d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/configuration/framework.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,18 @@ Set of request headers that trigger "private" cache-control behavior on response
119119
that don't explicitly state whether the response is public or private via a
120120
Cache-Control directive. (default: Authorization and Cookie)
121121

122+
skip_response_headers
123+
.....................
124+
125+
**type**: ``array`` **default**: ``Set-Cookie``
126+
127+
Set of response headers that will never be cached even when the response is cacheable
128+
and public.
129+
130+
.. versionadded:: 6.3
131+
132+
The ``skip_response_headers`` option was introduced in Symfony 6.3.
133+
122134
allow_reload
123135
............
124136

0 commit comments

Comments
 (0)
0