The Cache Tools app displays the number of cached elements and lets you flush caches manually.
Maven is the easiest way to install the module. Add the following dependency to your bundle:
<dependency> <groupId>info.magnolia.cache</groupId> <artifactId>magnolia-cache-app</artifactId> <version>5.6</version> </dependency>
Pre-built jars are also available for download. See Installing a module for help.
The Cache Tools app provides the following information and actions:
- Cache information: Number of elements currently in the cache.
- Flush from cache by UUID: Allows you to flush a single item by UUID and repository.
- Flush cache by name: Allows you to flush a named cache.
- Flush all caches: Flushes all cached elements.