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

Skip to content

Commit 3364073

Browse files
[Cache] Document "framework.cache.directory" option
1 parent f415141 commit 3364073

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
@@ -105,6 +105,8 @@ Configuration
105105
* `php_errors`_
106106
* `log`_
107107
* `throw`_
108+
* `cache`_
109+
* `directory`_
108110

109111
secret
110112
~~~~~~
@@ -1485,6 +1487,19 @@ throw
14851487
Throw PHP errors as ``\ErrorException`` instances. The parameter
14861488
``debug.error_handler.throw_at`` controls the threshold.
14871489

1490+
cache
1491+
~~~~~
1492+
1493+
directory
1494+
.........
1495+
1496+
.. versionadded:: 3.2
1497+
The ``directory`` option was introduced in Symfony 3.2.
1498+
1499+
**type**: ``string`` **default**: ``%kernel.cache_dir%/pools``
1500+
1501+
The directory used by the filesystem cache adapter to store data.
1502+
14881503
Full Default Configuration
14891504
--------------------------
14901505

@@ -1624,6 +1639,10 @@ Full Default Configuration
16241639
log: false
16251640
throw: '%kernel.debug%'
16261641
1642+
# PSR6 Cache
1643+
cache:
1644+
directory: '%kernel.cache_dir%/pools'
1645+
16271646
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
16281647
.. _`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
16291648
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html

0 commit comments

Comments
 (0)
0