8000 Remove "cache" from example config of framework.yaml · marcinowski/symfony-docs@8cf2ec7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8cf2ec7

Browse files
Remove "cache" from example config of framework.yaml
1 parent 3ae4a3d commit 8cf2ec7

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

configuration.rst

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
3636
php_errors:
3737
log: true
3838
39-
cache:
40-
# Put the unique name of your app here: the prefix seed
41-
# is used to compute stable namespaces for cache keys.
42-
#prefix_seed: your_vendor_name/app_name
43-
44-
# The app cache caches to the filesystem by default.
45-
# Other options include:
46-
47-
# Redis
48-
#app: cache.adapter.redis
49-
#default_redis_provider: redis://localhost
50-
51-
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
52-
#app: cache.adapter.apcu
53-
5439
.. code-block:: xml
5540
5641
<!-- config/packages/framework.xml -->
@@ -70,22 +55,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
7055
Remove or comment this section to explicitly disable session support. -->
7156
<framework:session />
7257
73-
<!-- Put the unique name of your app here: the prefix seed
74-
is used to compute stable namespaces for cache keys.
75-
<framework:cache prefix-seed="your_vendor_name/app_name">
76-
-->
77-
<framework:cache>
78-
<!-- The app cache caches to the filesystem by default.
79-
Other options include: -->
80-
81-
<!-- Redis -->
82-
<!--<framework:app>cache.adapter.redis</framework:app>-->
83-
<!--<framework:default-redis-provider>redis://localhost</framework:default-redis-provider>-->
84-
85-
<!-- APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) -->
86-
<!--<framework:app>cache.adapter.apcu</framework:app>-->
87-
</framework:cache>
88-
8958
<framework:php-errors log="true" />
9059
</framework:config>
9160
</container>
@@ -109,19 +78,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
10978
'php_errors' => [
11079
'log' => true,
11180
],
112-
'cache' => [
113-
//'prefix_seed' => 'your_vendor_name/app_name',
114-
115-
// The app cache caches to the filesystem by default.
116-
// Other options include:
117-
118-
// Redis
119-
//'app' => 'cache.adapter.redis',
120-
//'default_redis_provider: 'redis://localhost',
121-
122-
// APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
123-
//'app' => 'cache.adapter.apcu',
124-
],
12581
]);
12682
12783
The top-level key (here ``framework``) references configuration for a specific

0 commit comments

Comments
 (0)
0