Skip to content

Remove "cache" from example config of framework.yaml #10778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
php_errors:
log: true

cache:
# Put the unique name of your app here: the prefix seed
# is used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name

# The app cache caches to the filesystem by default.
# Other options include:

# Redis
#app: cache.adapter.redis
#default_redis_provider: redis://localhost

# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
#app: cache.adapter.apcu

.. code-block:: xml

<!-- config/packages/framework.xml -->
Expand All @@ -70,22 +55,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
Remove or comment this section to explicitly disable session support. -->
<framework:session />

<!-- Put the unique name of your app here: the prefix seed
is used to compute stable namespaces for cache keys.
<framework:cache prefix-seed="your_vendor_name/app_name">
-->
<framework:cache>
<!-- The app cache caches to the filesystem by default.
Other options include: -->

<!-- Redis -->
<!--<framework:app>cache.adapter.redis</framework:app>-->
<!--<framework:default-redis-provider>redis://localhost</framework:default-redis-provider>-->

<!-- APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) -->
<!--<framework:app>cache.adapter.apcu</framework:app>-->
</framework:cache>

<framework:php-errors log="true" />
</framework:config>
</container>
Expand All @@ -109,19 +78,6 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
'php_errors' => [
'log' => true,
],
'cache' => [
//'prefix_seed' => 'your_vendor_name/app_name',

// The app cache caches to the filesystem by default.
// Other options include:

// Redis
//'app' => 'cache.adapter.redis',
//'default_redis_provider: 'redis://localhost',

// APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
//'app' => 'cache.adapter.apcu',
],
]);

The top-level key (here ``framework``) references configuration for a specific
Expand Down