Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 966e1e0

Browse filesBrowse files
committed
minor #15502 Fix doc of cache prefix and namespace (Tobion)
This PR was merged into the 4.4 branch. Discussion ---------- Fix doc of cache prefix and namespace Commits ------- 1a3e544 Fix doc of cache prefix and namespace
2 parents b319536 + 1a3e544 commit 966e1e0
Copy full SHA for 966e1e0

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎cache.rst

Copy file name to clipboardExpand all lines: cache.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ You can also create more customized pools:
305305
Each pool manages a set of independent cache keys: keys from different pools
306306
*never* collide, even if they share the same backend. This is achieved by prefixing
307307
keys with a namespace that's generated by hashing the name of the pool, the name
308-
of the compiled container class and a :ref:`configurable seed <reference-cache-prefix-seed>`
309-
that defaults to the project directory.
308+
of the cache adapter class and a :ref:`configurable seed <reference-cache-prefix-seed>`
309+
that defaults to the project directory and compiled container class.
310310

311311
Each custom pool becomes a service whose service ID is the name of the pool
312312
(e.g. ``custom_thing.cache``). An autowiring alias is also created for each pool

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,7 +2485,7 @@ email_validation_mode
24852485

24862486
**type**: ``string`` **default**: ``loose``
24872487

2488-
Sets the default value for
2488+
Sets the default value for
24892489
:doc:`/reference/constraints/Email` validator. The possible values are:
24902490

24912491
* ``loose``, it uses a simple regular expression to validate the address (it
@@ -2938,9 +2938,9 @@ The cache clearer used to clear your PSR-6 cache.
29382938
prefix_seed
29392939
...........
29402940

2941-
**type**: ``string`` **default**: ``null``
2941+
**type**: ``string`` **default**: ``_%kernel.project_dir%.%kernel.container_class%``
29422942

2943-
If defined, this value is used as part of the "namespace" generated for the
2943+
This value is used as part of the "namespace" generated for the
29442944
cache item keys. A common practice is to use the unique name of the application
29452945
(e.g. ``symfony.com``) because that prevents naming collisions when deploying
29462946
multiple applications into the same path (on different servers) that share the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.