The Advanced Cache App installs an Advanced tab into the Cache Tools app that allows you to configure site-aware caches.


Maven is the easiest way to install the module. Add the following to your bundle:

Pre-built JARs are also available for download. See Installing a module for help.


  1. Go to the app, unset all checkboxes for site aware workspaces and confirm.
  2. Remove the /modules/advanced-cache-app and  /modules/cache-app/apps/cacheTools/subApps/advancedTools  nodes.
  3. Shut down Magnolia, remove the Advanced Cache module JAR (magnolia-advanced-cache-app.jar) from WEB-INF/lib and start up Magnolia again.


Open the cacheTools app, go to the Advanced tab and select workspaces which are site-aware. Then means that it used different subtrees for different sites. For example the site uses subtree /site1 in the website workspace and uses the subtree /site2. Click Configure and restart your instance.  

How to test

  1. Fill the caches with some content.
  2. Change something in one of the subtrees.
  3. Check that corresponding cache was flushed and other site caches aren't empty.
  4. Add / remove a site via site app and check that a cache was added/removed.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))