Adds the ability to invalidate a view display's cache based on the passage of time combined with a date(/time) field.

Particularly relevent to event calendars, but in any situation where content should stop showing at a relative date/datetime, you can use this views cache plugin to calculate when the cache should be invaldated and query rerun.

Inspired by https://www.drupal.org/project/drupal/issues/2968485

At this point the module is in alpha because it is by no means feature-complete, right now it only offers cache handling for filters on date/datetime fields (not daterange) with a relative date and a ">" or ">=" operator.

All views using this module should still respect tag-based cache clearing as that is handled by the base plugin.

Project information

Releases