Skip to content

Commit 71d434c

Browse files
committed
minor #596 Configured cache.prefix_seed and added a help note (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Configured cache.prefix_seed and added a help note This fixes #404. Commits ------- b862df2 Configured cache.prefix_seed and added a help note
2 parents 3275cf6 + b862df2 commit 71d434c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/config/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ framework:
5151
json_manifest_path: '%kernel.project_dir%/web/build/manifest.json'
5252
php_errors:
5353
log: true
54+
cache:
55+
# this value is used as part of the "namespace" generated for the cache item keys
56+
# to avoid collisions when multiple apps share the same cache backend (e.g. a Redis server)
57+
# See https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed
58+
prefix_seed: symfony-demo
5459

5560
# Twig Configuration (used for rendering application templates)
5661
twig:

0 commit comments

Comments
 (0)