Advanced Cache app module

Operations Bundled: DX Core

Edition DX Core

License

MLA

Issues

Maven site

Latest

2.3.6

The Advanced Cache app installs an Advanced tab into the Cache Tools app that allows you to configure site-aware caches.

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-app</artifactId>
  <version>2.3.6</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. Remove the /modules/advanced-cache-app and /modules/cache-app/apps/cacheTools/subApps/advancedTools nodes.

  3. Shut down Magnolia, remove the Advanced Cache module JAR (magnolia-advanced-cache-app.jar) from WEB-INF/lib and start up Magnolia again.

Usage

Open the cacheTools app, go to the Advanced tab and select workspaces that 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.

Site-aware cache configuration

How to test

  1. Fill the caches with some content.

  2. Change something in one of the subtrees.

  3. Check that the corresponding cache was flushed and other site caches aren’t empty.

  4. Add/remove a site via site app and check that a cache was added/removed.

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