Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.
The Advanced Cache App installs an Advanced tab into the Cache Tools app that allows you to configure site-aware caches.
Installing
<version/>
in the dependency.<dependency> <groupId>info.magnolia.advancedcache</groupId> <artifactId>magnolia-advanced-cache-app</artifactId> </dependency>
Uninstalling
- Go to the app, unset all checkboxes for site aware workspaces and confirm.
- Remove the
/modules/advanced-cache-app
and/modules/cache-app/apps/cacheTools/subApps/advancedTools
nodes. - Shut down Magnolia, remove the Advanced Cache module JAR (
magnolia-advanced-cache-app.jar
) fromWEB-INF/lib
and start up Magnolia again.
Usage
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 www.site1.com uses subtree /site1
in the website
workspace and www.site2.com uses the subtree /site2
. Click Configure and restart your instance.
How to test
- Fill the caches with some content.
- Change something in one of the subtrees.
- Check that corresponding cache was flushed and other site caches aren't empty.
- Add / remove a site via
site app
and check that a cache was added/removed.
2 Comments
Ioannis Spyronis
On Magnolia 5.7.5 getting :
Module Magnolia Advanced Cache Tools App (version 2.2.0) is dependent on ui-admincentral (version 6.1/*), but Magnolia Admincentral (version 5.7.5) is currently installed.
Module Magnolia Advanced Cache Tools App (version 2.2.0) is dependent on ui-framework (version 6.1/*), but Magnolia UI Framework (version 5.7.5) is currently installed.
Module Magnolia Advanced Cache Tools App (version 2.2.0) is dependent on cache-app (version 5.8/*), but Magnolia Module Cache APP (version 5.6.2) is currently installed.
Module Magnolia Advanced Cache Tools App (version 2.2.0) is dependent on advanced-cache (version 2.2/*), but Magnolia Advanced Cache Module (version 2.0.1) is currently installed.
Module Magnolia Advanced Cache Tools App (version 2.2.0) is dependent on core (version 6.1/*), but Magnolia Core Module (version 5.7.5) is currently installed.
Should we instead use 2.0.1 version?
Richard Gange
Yes, exactly. Sorry for the late response.