Skip to content

Commit 4a2f84d

Browse files
committed
Revert a wrong change
1 parent ecf6976 commit 4a2f84d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/http_foundation.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,18 +517,13 @@ call::
517517
'immutable' => true,
518518
'last_modified' => new \DateTime(),
519519
'etag' => 'abcdef',
520-
'terminate_on_cache_hit' => false,
521520
]);
522521

523522
.. versionadded:: 6.1
524523

525524
The ``stale_if_error`` and ``stale_while_revalidate`` options were
526525
introduced in Symfony 6.1.
527526

528-
.. versionadded:: 6.2
529-
530-
The ``terminate_on_cache_hit`` option was introduced in Symfony 6.2.
531-
532527
To check if the Response validators (``ETag``, ``Last-Modified``) match a
533528
conditional value specified in the client Request, use the
534529
:method:`Symfony\\Component\\HttpFoundation\\Response::isNotModified`

0 commit comments

Comments
 (0)