Page Manager Cache Lifetime

Component ID

2494975

Component name

Page Manager Cache Lifetime

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

957

Component created

Component changed

Component body

This module allows you to override the cache expiration variables on each page manager variant.
Once the module is enabled, an extra operation will appear when editing a variant.
This will allow the page to override the default variables and use a custom one.

The variables supported are:

  • Minimum cache lifetime (cache_lifetime)
  • Expiration of cached pages (page_cache_maximum_age)

These can both be edited globally on the admin/config/development/performance page.

Why would this be useful?
Panels and is often used to build landing pages, which tend to be more frequently updated than regular content pages, so often require different caching rules from the rest of the site.