Drupal is a registered trademark of Dries Buytaert

Exclude specific bundles from being queued by Purge’s Core Tags queuer. Filters entity cache tag invalidations so selected bundles do not enqueue purge items. Simple admin UI; no hacks to contrib; Drupal 10/11.

Features

  • Exclude bundles (content types, vocabularies, media types, etc.) from Purge queueing.
  • Decorates purge_queuer_coretags.queuer; no patching of contrib.
  • Understands and filters:
    • Entity tags: entity_type:ID (e.g., node:123).
    • List tags: entity_type_list.
    • Bundle-scoped list tags: entity_type_list:bundle (e.g., node_list:article).
  • Conservative behavior on deletes/unknown bundles to avoid stale caches.
  • Configuration UI to pick excluded bundles per entity type.
  • Dependency injection, bulk loading; lightweight and fast for editorial flows.
  • Ideal when only certain content types should trigger CDN/varnish purges.

Post-Installation

  1. Enable the module.
  2. Ensure Purge and Core Tags queuer are enabled.
  3. Go to: /admin/config/development/performance/purge-coretags-exclude-bundle.
  4. Select the bundles you want to exclude from purge queueing and save.
  5. Perform CRUD operations; excluded bundles will no longer enqueue purge items.

No additional UI is added beyond the settings page. Works automatically once configured.

Additional Requirements

  • Drupal core 10 or 11.
  • purge module.
  • purge_queuer_coretags submodule.
  • Purge purgers such as Varnish/CDN integrations (e.g., Varnish Purger, Fastly, Cloudflare) depending on your stack.
  • Drupal’s Performance and Purge UI/diagnostics tools to inspect queues.

Similar projects

You can achieve related behavior by writing a custom Purge queuer plugin. This project is different because it decorates the Core Tags queuer, keeping your stack unchanged while adding per-bundle filtering.

Supporting this Module

Feedback and contributions are welcome via issue queues and pull requests. If this module saves you time, consider crediting the project in releases or contributing documentation/tests.

Community Documentation

  • README: consult the included README.md for full usage details and examples.
  • Purge module documentation: explains queuers, processors, purgers, and queues.

You may include additional background or site-specific guidance below as needed.

Activity

Total releases
1
First release
Nov 2025
Latest release
3 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Nov 19, 2025