Panels cache bully
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Force caching on Panel Panes.
Inspired by Views cache bully and this issue https://www.drupal.org/node/2175603
This module enforces a global Panels caching mechanism for all Panel Panes. This can drastically improve performance.
Global configuration
admin/structure/panels/settings/panels-cache-bully
You can choose any Panels cache plugin installed, but in the Admin UI you cannot change the default settings of the selected plugin.
For example, the 'simple' plugin has one configuration setting: lifetime=15seconds. If you want to set that higher you can do this by changing the variable panels_cache_bully_cache_plugin.
The default plugin is 'No panels cache bully'. This is done to prevent start caching with a ill-suited mechanism upon installing this module.
Pane configuration
Cache mechanism overrides are respected.
But Panels default "No caching" WILL be overridden by Panels cache bully.
Panels Cache modules to consider
The "Simple" cache mechanism (provided by Panels module) works well for static (non-personalised) panels. It hurts you if you reuse a pane in different contexts (user dashboards, unauthorized content, menu-links, ...).
Contrib Panels cache modules
Disable caching on a per Pane basis
Choose "No panels cache bully" instead of "No caching".
Please create an issue if you think you must use this option, because of a bug.
Global exclusions
- Panes that have a form in it are excluded.
- Panes that are blocks are excluded (we trust block-caching for this).
