8000 [FrameworkBundle] Add semantic config for new terminate_on_cache_hit … · symfony/symfony@bb387e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit bb387e9

Browse files
committed
[FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option
1 parent 4f20ec6 commit bb387e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)
0