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.

This module sets the cache policy and cache store configuration on installation, allowing you to cache pages that contain personalized content. See Personalization.


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.



  1. Go to the app, unset all checkboxes for site aware workspaces and confirm.
  2. Set the property  /modules/cache/config/contentCaching/defaultPageCache/cachePolicy@class  to   info.magnolia.module.cache.cachepolicy.Default
  3. Set the property /modules/cache/config/contentCaching/defaultPageCache/executors/store/cacheContent@class to  info.magnolia.module.cache.executor.Store
  4. Create /modules/cache/config/contentCaching/defaultPageCache/cachePolicy/ttlVoters/PersonalizedContentTtlVoter@class and  set its value to info.magnolia.personalization.cache.PersonalizedContentTtlVoter
  5. Shut down Magnolia, remove the Advanced Cache module JAR ( magnolia-advanced-cache-personalization.jar ) from WEB-INF/lib and start up Magnolia again