File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,26 @@ Use the ``framework.http_cache`` option to enable the proxy for the
8989 framework :
9090 http_cache : true
9191
92+ .. code-block :: xml
93+
94+ <!-- config/packages/framework.xml -->
95+ <?xml version =" 1.0" encoding =" UTF-8" ?>
96+ <container xmlns =" http://symfony.com/schema/dic/services"
97+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
98+ xmlns : framework =" http://symfony.com/schema/dic/symfony"
99+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
100+ https://symfony.com/schema/dic/services/services-1.0.xsd
101+ http://symfony.com/schema/dic/symfony
102+ https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
103+
104+ <when env =" prod" >
105+ <framework : config >
106+ <!-- ... -->
107+ <framework : http-cache enabled =" true" />
108+ </framework : config >
109+ </when >
110+ </container >
111+
92112 .. code-block :: php
93113
94114 // config/packages/framework.php
You can’t perform that action at this time.
0 commit comments