Skip to content

Document Memcached cache adapter added in Symfony 3.3 #8407

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
Sep 22, 2017
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
15 changes: 14 additions & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Configuration
* `default_doctrine_provider`_
* `default_psr6_provider`_
* `default_redis_provider`_
* `default_memcached_provider`_
* `pools`_
* :ref:`name <reference-cache-pools-name>`
* `adapter`_
Expand Down Expand Up @@ -1729,7 +1730,7 @@ app

The cache adapter used by the ``cache.app`` service. The FrameworkBundle
ships with multiple adapters: ``apcu``, ``doctrine``, ``system``, ``filesystem``,
``psr6`` and ``redis``.
``psr6``, ``redis`` and ``memcached``.

.. tip::

Expand Down Expand Up @@ -1776,6 +1777,17 @@ default_redis_provider
The DSN to use by the Redis provider. The provider is available as the ``cache.redis``
service.

default_memcached_provider
..........................

.. versionadded:: 3.3
The ``default_memcached_provider`` option was introduced in Symfony 3.3.

**type**: ``string`` **default**: ``memcached://localhost``

The DSN to use by the Memcached provider. The provider is available as the ``cache.memcached``
service.

pools
.....

Expand Down Expand Up @@ -2013,6 +2025,7 @@ Full Default Configuration
default_doctrine_provider: ~
default_psr6_provider: ~
default_redis_provider: 'redis://localhost'
default_memcached_provider: 'memcached://localhost'
pools:
# Prototype
name:
Expand Down