Issue Bug Closed

#27506Caching framework: Flush all caches with 'clear all cache' command

Christian Kuhn 06/17/11, 00:08 updated 06/01/13, 14:43

Description

Problem:
Currently the caching framework only flushes already instantiated caches if using the ‘clear all cache’ command in the backend toolbar.

Solution:
Use the new setCacheConfigurations() method of the cache_Manager class to make it aware of all available caches. The flushCaches() method will then call flush() on all defined caches, even if they where not instantiated yet.

Reviews 1