Cache Flag adds a new {% cacheflag %} Twig tag to Craft CMS, which works just like the native {% cache %} tag, except that it will not save element queries for automatic cache invalidation (unless you tell it to).

Cache Flag enables you to add flags (i.e. keywords) to your content and template caches. When elements corresponding to those flags are saved, deleted, moved or change status, Cache Flag invalidates the appropriate template caches automatically.

Additionally, Cache Flag enables you to have completely cold template caches, optionally flagged with arbritrary flags (again, those are basically keywords) that you can invalidate manually on a per-need basis, programmatically or as part of a deploy setup or other logic, through CLI commands or a HTTP web controller.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
150
Version
2.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Tested on Cloud
Last release
March 28, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs