Skip to content

Commit 1fc0bed

Browse files
committed
minor #18510 [FrameworkBundle] Remove terminate_on_cache_hit option (OskarStark)
This PR was merged into the 7.0 branch. Discussion ---------- [FrameworkBundle] Remove `terminate_on_cache_hit` option Refs * #18491 Commits ------- e6f6bbd Remove `terminate_on_cache_hit` option.
2 parents 7af3d9f + e6f6bbd commit 1fc0bed

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

reference/configuration/framework.rst

-21
Original file line numberDiff line numberDiff line change
@@ -167,27 +167,6 @@ which the cache can serve a stale response when an error is encountered
167167
(default: 60). This setting is overridden by the stale-if-error HTTP
168168
Cache-Control extension (see RFC 5861).
169169

170-
terminate_on_cache_hit
171-
......................
172-
173-
**type**: ``boolean`` **default**: ``true``
174-
175-
If ``true``, the :ref:`kernel.terminate <component-http-kernel-kernel-terminate>`
176-
event is dispatched even when the cache is hit.
177-
178-
Unless your application needs to process events on cache hits, it's recommended
179-
to set this to ``false`` to improve performance, because it avoids having to
180-
bootstrap the Symfony framework on a cache hit.
181-
182-
.. versionadded:: 6.2
183-
184-
The ``terminate_on_cache_hit`` option was introduced in Symfony 6.2.
185-
186-
.. deprecated:: 6.2
187-
188-
Setting the ``terminate_on_cache_hit`` option to ``true`` was deprecated in
189-
Symfony 6.2 and the option will be removed in Symfony 7.0.
190-
191170
.. _configuration-framework-http_method_override:
192171

193172
http_method_override

0 commit comments

Comments
 (0)