8000 [Cache] Document "framework.cache.directory" option · symfony/symfony-docs@492250f · GitHub
[go: up one dir, main page]

Skip to content

Commit 492250f

Browse files
[Cache] Document "framework.cache.directory" option
1 parent 3b2a45c commit 492250f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

reference/configuration/framework.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ Configuration
102102
* :ref:`cache <reference-serializer-cache>`
103103
* :ref:`enable_annotations <reference-serializer-enable_annotations>`
104104
* :ref:`name_converter <reference-serializer-name_converter>`
105+
* `cache`_
106+
* `directory`_
105107

106108
secret
107109
~~~~~~
@@ -1446,6 +1448,16 @@ value.
14461448
For more information, see
14471449
:ref:`component-serializer-converting-property-names-when-serializing-and-deserializing`.
14481450

1451+
cache
1452+
~~~~~
1453+
1454+
directory
1455+
.........
1456+
1457+
**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``
1458+
1459+
The path to the cache directory used by the filesystem cache adapter.
1460+
14491461
Full Default Configuration
14501462
--------------------------
14511463

@@ -1580,6 +1592,10 @@ Full Default Configuration
15801592
file_cache_dir: '%kernel.cache_dir%/annotations'
15811593
debug: '%kernel.debug%'
15821594
1595+
# cache configuration
1596+
cache:
1597+
directory: '%kernel.cache_dir%/pools'
1598+
15831599
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
15841600
.. _`Security Advisory Blog post`: https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
15851601
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html

0 commit comments

Comments
 (0)
0