Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module lets you exclude specific content types or other entity bundles from triggering cache purges when they are updated. It provides a simple administrative interface to select which bundles should not be included in the purge queue, helping to prevent unnecessary cache invalidations for certain content.

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
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0 Stable Nov 19, 2025