Caching strategies

Overview

The cache subpage is about caching strategies in Magnolia, including policy configuration, compression to save bandwidth, setting a cache threshold, and cache flush events. Advanced cache modules introduce caching strategies such as eager re-caching and site-aware caching, which only caches content in the same subtree in JCR. High-performance caching modules focus on configuring the caching of dynamic and personalized content.

Tuning tips - Caching strategies
  • Cache policies

    • Speed up your site by using compression to save bandwidth.

      For more, see Compression.

  • Advanced strategies

    • Use the ServeUntilRecached caching strategy where the cache isn’t completely cleaned. Instead, when content is updated, fresh cache entries are generated when the first page requests come in.

    • Enable eager re-caching to refresh the most frequently used pages as soon as an update is detected (Magnolia doesn’t wait for a page request before refreshing the cache).

      For more, see Eager re-caching.

    • Configure multiple cache configurations to ensure that only cache entries belonging to the same subtree (site) as the published content are flushed.

  • Dynamic and personalized content

    • Improve performance by caching page variants and fragments of pages, especially for sites with a lot of dynamic and personalized content.

  • Memcached implementation

    • You can significantly improve the rendering process performance by configuring this high-performance, distributed memory object caching system.

      For more, see Cache modules.

Feedback

DX Core

×

Location

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

You are currently perusing through the Performance tuning guide docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules
6.3 beta
X

Magnolia 6.3 beta

Magnolia 6.3 is in beta. We are updating docs based on development and feedback. Consider the 6.3 docs currently in a state of progress and not final.

We are working on some 6.3-beta known issues during this phase.