Skip to content

Commit 75a1819

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

reference/configuration/framework.rst

Lines changed: 19 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,19 @@ 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+
.. versionadded:: 3.1
1458+
The ``directory`` option was introduced in Symfony 3.1.
1459+
1460+
**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``
1461+
1462+
The path to the cache directory used by the filesystem cache adapter.
1463+
14491464
Full Default Configuration
14501465
--------------------------
14511466

@@ -1580,6 +1595,10 @@ Full Default Configuration
15801595
file_cache_dir: '%kernel.cache_dir%/annotations'
15811596
debug: '%kernel.debug%'
15821597
1598+
# cache configuration
1599+
cache:
1600+
directory: '%kernel.cache_dir%/pools'
1601+
15831602
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
15841603
.. _`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
15851604
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html

0 commit comments

Comments
 (0)