File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -194,20 +194,13 @@ You can also create more customized pools. All you need is an adapter:
194
194
default_memcached_provider : ' memcached://localhost'
195
195
pools :
196
196
my_cache_pool :
197
- provider : app.my_cache_chain_adapter
197
+ provider : cache.adapter.filesystem
198
198
cache.acme :
199
199
adapter : cache.adapter.memcached
200
200
cache.foobar :
201
201
adapter : cache.adapter.memcached
202
202
provider : ' memcached://user:password@example.com'
203
203
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
-
211
204
.. code-block :: xml
212
205
213
206
<!-- app/config/config.xml -->
@@ -250,9 +243,8 @@ You can also create more customized pools. All you need is an adapter:
250
243
],
251
244
]);
252
245
253
-
254
246
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
256
248
and the other two are using the :doc: `MemcachedAdapter </components/cache/adapters/memcached_adapter >`.
257
249
The ``cache.acme `` pool is using the Memcached server on localhost and ``cache.foobar ``
258
250
is using the Memcached server at example.com.
You can’t perform that action at this time.
0 commit comments