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.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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


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.

Error rendering macro 'artifact-maven-dependencies-snippet-macro'

com.sun.jersey.api.client.ClientHandlerException: java.net.NoRouteToHostException: No route to host (Host unreachable)

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

  • Error rendering macro 'artifact-resource-macro'

    com.sun.jersey.api.client.ClientHandlerException: java.net.NoRouteToHostException: No route to host (Host unreachable)

Uninstalling

  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


  • No labels