Advanced Cache for Personalization
Operations Bundled: Extension
Edition | DX Core |
---|---|
License |
|
Issues |
|
Maven site |
|
Latest |
3.0.0 |
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
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.advancedcache</groupId>
<artifactId>magnolia-advanced-cache-personalization</artifactId>
<version>3.0.0</version> (1)
</dependency>
1 | Should you need to specify the module version, do it using <version> . |
Uninstalling
-
Go to the app, unset all checkboxes for site aware workspaces and confirm.
-
Set the property
/modules/cache/config/contentCaching/defaultPageCache/cachePolicy@class
toinfo.magnolia.module.cache.cachepolicy.Default
-
Set the property
/modules/cache/config/contentCaching/defaultPageCache/executors/store/cacheContent@class
toinfo.magnolia.module.cache.executor.Store
-
Create
/modules/cache/config/contentCaching/defaultPageCache/cachePolicy/ttlVoters/PersonalizedContentTtlVoter@class
and set its value to info.magnolia.personalization.cache.PersonalizedContentTtlVoter -
Shut down Magnolia, remove the Advanced Cache module JAR (
magnolia-advanced-cache-personalization.jar
) fromWEB-INF/lib
and start up Magnolia again