Views content cache

Categories

Component ID

825776

Component name

Views content cache

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

90778

Component created

Component changed

Component body

This module implements a views cache plugin that is aware of content and can provide caching for views, until the content in those views changes.

Drupal 8

Drupal 8 has this functionality essentially baked into core, so there isn't a need for this module if your site is running Drupal 8.

Usage

Just enable the module, find the views that you'd like to enable caching for, edit and select the 'Content-based' cache option in the 'Caching' option on the 'Basic settings' section. Then choose which cache segments to monitor for changes, and optionally set some min/max cache lifetimes.
Full details are in the documentation.

Upgrading

If you were running a version of the 1.x series, then you'll want to reset any views you have to not use any caching, then upgrade the module.

Credit

This module was originally written by: huesforalice, and has since been tweaked by Steven Jones. Yhahn has also rewritten large parts of the module for the 2.x series.