Skip to content

Commit 35300c4

Browse files
committed
feature #47630 [FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option (wouterj)
This PR was merged into the 6.2 branch. Discussion ---------- [FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | symfony/symfony-docs#16999 Adds the semantic configuration for the option introduced in Symfony 6.2 by #46763 Commits ------- bb387e9 [FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option
2 parents 4f20ec6 + bb387e9 commit 35300c4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

+1
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ private function addHttpCacheSection(ArrayNodeDefinition $rootNode)
269269
->booleanNode('allow_revalidate')->end()
270270
->integerNode('stale_while_revalidate')->end()
271271
->integerNode('stale_if_error')->end()
272+
->booleanNode('terminate_on_cache_hit')->end()
272273
->end()
273274
->end()
274275
->end()

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

+1
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@
724724
<xsd:attribute name="allow-revalidate" type="xsd:boolean" />
725725
<xsd:attribute name="stale-while-revalidate" type="xsd:integer" />
726726
<xsd:attribute name="stale-if-error" type="xsd:integer" />
727+
<xsd:attribute name="terminate-on-cache-hit" type="xsd:boolean" />
727728
</xsd:complexType>
728729

729730
<xsd:simpleType name="http_cache_trace_levels">

0 commit comments

Comments
 (0)