File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ Clearing the Cache
179
179
180
180
To clear the cache you can use the ``bin/console cache:pool:clear [pool] `` command.
181
181
That will remove all the entries from your storage and you wil have to recalcuate
182
- all values. You can also group your pools into "cache clearers". There 3 cache clearer
183
- by default:
182
+ all values. You can also group your pools into "cache clearers". There are 3 cache
183
+ clearer by default:
184
184
185
185
* cache.global_clearer
186
186
* cache.system_clearer
@@ -190,6 +190,20 @@ The global clearer clears all the cache in every pool. The system cache clearer
190
190
is used in the ``bin/console cache:clear `` command. The app clearer is the default
191
191
clearer.
192
192
193
+ Clear one pool:
194
+
195
+ .. code-block :: terminal
196
+
197
+ $ php bin/console cache:pool:clear my_cache_pool
198
+
199
+ Clear all custom pools:
200
+
193
201
.. code-block :: terminal
194
202
195
203
$ php bin/console cache:pool:clear cache.app_clearer
204
+
205
+ Clear all caches everywhere:
206
+
207
+ .. code-block :: terminal
208
+
209
+ $ php bin/console cache:pool:clear cache.global_clearer
You can’t perform that action at this time.
0 commit comments