Skip to content

Commit

Permalink
feature #47630 [FrameworkBundle] Add semantic config for new terminat…
Browse files Browse the repository at this point in the history
…e_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
  • Loading branch information
fabpot committed Sep 20, 2022
2 parents 4f20ec6 + bb387e9 commit 35300c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ private function addHttpCacheSection(ArrayNodeDefinition $rootNode)
->booleanNode('allow_revalidate')->end()
->integerNode('stale_while_revalidate')->end()
->integerNode('stale_if_error')->end()
->booleanNode('terminate_on_cache_hit')->end()
->end()
->end()
->end()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@
<xsd:attribute name="allow-revalidate" type="xsd:boolean" />
<xsd:attribute name="stale-while-revalidate" type="xsd:integer" />
<xsd:attribute name="stale-if-error" type="xsd:integer" />
<xsd:attribute name="terminate-on-cache-hit" type="xsd:boolean" />
</xsd:complexType>

<xsd:simpleType name="http_cache_trace_levels">
Expand Down

0 comments on commit 35300c4

Please sign in to comment.