@@ -229,48 +229,9 @@ Enabling the Metadata Cache
229
229
---------------------------
230
230
231
231
Metadata used by the Serializer component such as groups can be cached to
232
- enhance application performance. Any service implementing the ``Doctrine\Common\Cache\Cache ``
233
- interface can be used.
234
-
235
- A service leveraging `APCu `_ (and APC for PHP < 5.5) is built-in.
236
-
237
- .. configuration-block ::
238
-
239
- .. code-block :: yaml
240
-
241
- # app/config/config_prod.yml
242
- framework :
243
- # ...
244
- serializer :
245
- cache : serializer.mapping.cache.apc
246
-
247
- .. code-block :: xml
248
-
249
- <!-- app/config/config_prod.xml -->
250
- <?xml version =" 1.0" encoding =" UTF-8" ?>
251
- <container xmlns =" http://symfony.com/schema/dic/services"
252
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
253
- xmlns : framework =" http://symfony.com/schema/dic/symfony"
254
- xsi : schemaLocation =" http://symfony.com/schema/dic/services
255
- http://symfony.com/schema/dic/services/services-1.0.xsd
256
- http://symfony.com/schema/dic/symfony
257
- http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
258
-
259
- <framework : config >
260
- <!-- ... -->
261
- <framework : serializer cache =" serializer.mapping.cache.apc" />
262
- </framework : config >
263
- </container >
264
-
265
- .. code-block :: php
266
-
267
- // app/config/config_prod.php
268
- $container->loadFromExtension('framework', array(
269
- // ...
270
- 'serializer' => array(
271
- 'cache' => 'serializer.mapping.cache.apc',
272
- ),
273
- ));
232
+ enhance application performance. By default, the serializer uses the ``cache.system ``
233
+ cache pool which is configured using the :ref: `cache.system <reference-cache-systen >`
234
+ option.
274
235
275
236
Enabling a Name Converter
276
237
-------------------------
0 commit comments