@@ -37,7 +37,7 @@ these at the :doc:`component documentation </components/cache>`.
3737Configuring Cache with FrameworkBundle
3838--------------------------------------
3939
40- When configuring the the cache component there are a few concepts you should know
40+ When configuring the cache component there are a few concepts you should know
4141of:
4242
4343**Pool **
@@ -215,9 +215,9 @@ You can also create more customized pools. All you need is an adapter:
215215
216216 <framework : config >
217217 <framework : cache default_memcached_provider =" memcached://localhost" >
218- <framework : pool name =" my_cache_pool" adapter =" cache.adapter.array" />
219- <framework : pool name =" cache.acme" adapter =" cache.adapter.memcached" />
220- <framework : pool name =" cache.foobar" adapter =" cache.adapter.memcached" provider =" memcached://user:password@example.com" />
218+ <framework : pool name =" my_cache_pool" adapter =" cache.adapter.array" />
219+ <framework : pool name =" cache.acme" adapter =" cache.adapter.memcached" />
220+ <framework : pool name =" cache.foobar" adapter =" cache.adapter.memcached" provider =" memcached://user:password@example.com" />
221221 </framework : cache >
222222 </framework : config >
223223 </container >
@@ -282,9 +282,9 @@ For advanced configurations it could sometimes be useful to use a pool as an ada
282282
283283 <framework : config >
284284 <framework : cache >
285- <framework : pool name =" my_cache_pool" adapter =" cache.adapter.memcached" provider =" memcached://user:password@example.com" />
286- <framework : pool name =" cache.short_cache" adapter =" my_cache_pool" default_lifetime =" 604800" />
287- <framework : pool name =" cache.long_cache" adapter =" my_cache_pool" default_lifetime =" 604800" />
285+ <framework : pool name =" my_cache_pool" adapter =" cache.adapter.memcached" provider =" memcached://user:password@example.com" />
286+ <framework : pool name =" cache.short_cache" adapter =" my_cache_pool" default_lifetime =" 604800" />
287+ <framework : pool name =" cache.long_cache" adapter =" my_cache_pool" default_lifetime =" 604800" />
288288 </framework : cache >
289289 </framework : config >
290290 </container >
@@ -355,17 +355,17 @@ case the value needs to be recalculated.
355355
356356 <framework : config >
357357 <framework : cache default_memcached_provider =" memcached://localhost" >
358- <framework : pool name =" my_cache_pool" adapter =" app.my_cache_chain_adapter" />
359- <framework : pool name =" cache.my_redis" adapter =" cache.adapter.redis" provider =" redis://user:password@example.com" />
358+ <framework : pool name =" my_cache_pool" adapter =" app.my_cache_chain_adapter" />
359+ <framework : pool name =" cache.my_redis" adapter =" cache.adapter.redis" provider =" redis://user:password@example.com" />
360360 </framework : cache >
361361 </framework : config >
362362
363363 <services >
364364 <service id =" app.my_cache_chain_adapter" class =" Symfony\Component\Cache\Adapter\ChainAdapter" >
365365 <argument type =" collection" >
366- <argument type =" service" value =" cache.adapter.array" />
367- <argument type =" service" value =" cache.my_redis" />
368- <argument type =" service" value =" cache.adapter.file" />
366+ <argument type =" service" value =" cache.adapter.array" />
367+ <argument type =" service" value =" cache.my_redis" />
368+ <argument type =" service" value =" cache.adapter.file" />
369369 </argument >
370370 <argument >31536000</argument >
371371 </service >
@@ -407,9 +407,9 @@ Clearing the Cache
407407------------------
408408
409409To clear the cache you can use the ``bin/console cache:pool:clear [pool] `` command.
410- That will remove all the entries from your storage and you wil have to recalcuate
410+ That will remove all the entries from your storage and you wil have to recalculate
411411all values. You can also group your pools into "cache clearers". There are 3 cache
412- clearer by default:
412+ clearers by default:
413413
414414* ``cache.global_clearer ``
415415* ``cache.system_clearer ``
0 commit comments