The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.

The Cache Tools app displays the number of cached elements and lets you flush caches manually.

Installing

Maven is the easiest way to install the module. Add the following to your bundle. The parent POM of your webapp project should set the latest version of the module automatically. Should you need to use a specific module version, you can define it using the <version/> in the dependency.

<dependency>
  <groupId>info.magnolia.cache</groupId>
  <artifactId>magnolia-cache-app</artifactId>
</dependency>

Usage

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.