Skip to content

Commit fc483d9

Browse files
committed
Reword
1 parent 9d9142f commit fc483d9

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

cache.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,13 @@ You can also create more customized pools. All you need is an adapter:
194194
default_memcached_provider: 'memcached://localhost'
195195
pools:
196196
my_cache_pool:
197-
provider: app.my_cache_chain_adapter
197+
provider: cache.adapter.filesystem
198198
cache.acme:
199199
adapter: cache.adapter.memcached
200200
cache.foobar:
201201
adapter: cache.adapter.memcached
202202
provider: 'memcached://user:password@example.com'
203203
204-
services:
205-
app.my_cache_chain_adapter:
206-
class: Symfony\Component\Cache\Adapter\ChainAdapter
207-
arguments:
208-
- ['@cache.array', '@cache.apcu', '@cache.my_redis']
209-
- 31536000 # One year
210-
211204
.. code-block:: xml
212205
213206
<!-- app/config/config.xml -->
@@ -250,9 +243,8 @@ You can also create more customized pools. All you need is an adapter:
250243
],
251244
]);
252245
253-
254246
The configuration above will create 3 services: ``my_cache_pool``, ``cache.acme``
255-
and ``cache.foobar``. The ``my_cache_pool`` pool is using the ArrayAdapter
247+
and ``cache.foobar``. The ``my_cache_pool`` pool is using the filesystem adapter
256248
and the other two are using the :doc:`MemcachedAdapter </components/cache/adapters/memcached_adapter>`.
257249
The ``cache.acme`` pool is using the Memcached server on localhost and ``cache.foobar``
258250
is using the Memcached server at example.com.

0 commit comments

Comments
 (0)