Skip to content

Commit 1b71f98

Browse files
committed
[FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option
1 parent f0981c6 commit 1b71f98

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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()

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)