By godotislate on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
Description:
The 'cachetags' database table is now purged during cache rebuild. This happens within a call to drupal_flush_all_caches(), immediately after the cache bins are emptied.
This is done by having the cache_tags.invalidator and cache_tags.invalidator.checksum services implement a new interface Drupal\Core\Cache\CacheTagsPurgeInterface and its purge() method.
If alternative implementations of the cache tag checksum service also need to explicitly purge their data, they can implement this interface.
Previously, the 'cachetags' table could grow endlessly and could get large if there were a large number of cache tags being invalidated.
Impacts:
Site builders, administrators, editors
Module developers
Site templates, recipes and distribution developers