This documentation describes unreleased changes on the main branch.

CacheTag

Interface.

use Saij\WpAppFramework\Cache\CacheTag;

A tag that invalidates cache entries.

The framework provides PostTypeTag, TaxonomyTag and SettingsTag, which it invalidates itself. Tags of your own are string-backed enums implementing this interface; invalidate them with CacheStore::invalidate().