Advanced Cache for Personalization

Operations Bundled: DX Core

Edition DX Core

License

MLA

Issues

Maven site

Latest

2.3.5

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

Installing with Maven

Bundled modules are automatically installed for you.

If the module is unbundled, add the following to your bundle including your project’s <dependencyManagement> section and your webapp’s <dependencies> section. If the module is unbundled but the parent POM manages the version, add the following to your webapp’s <dependencies> section.

<dependency>
  <groupId>info.magnolia.advancedcache</groupId>
  <artifactId>magnolia-advanced-cache-personalization</artifactId>
  <version>2.3.5</version> (1)
</dependency>
1 Should you need to specify the module version, do it using <version>.

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

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules