Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module integrates Purge with Symfony Messenger to provide efficient, off-thread cache invalidation. It replaces Purge's default queue with Symfony Messenger, allowing invalidations to be dispatched asynchronously to various queuing systems and processed by separate workers. This decouples cache invalidation from the request thread and enables features like deduplication and configurable delays.

Integrates Purge with Symfony Messenger. allowing for efficient off-thread realtime Purge dispatches.

The module replaces Purge's built-in queue (normally database or memory) with Symfony Messenger, enabling invalidations to be dispatched asynchronously (e.g. to Redis/RabbitMQ/SQS) with deduplication and configurable delays. Workers consuming the Messenger queue then execute the actual purge calls, decoupling cache invalidation from HTTP request threads.

Installation

  1. Install and configure Purge, Symfony Messenger, and Purge Messenger.
  2. Navigate to admin/config/development/performance/purge and select Change engine under the Queue dropdown.
  3. Select Messenger and save.
  4. New invalidations will now be intercepted via Symfony Messenger.
  5. The now-redundant Purge command (drush p:queue-work) can be disabled.

Configuration

Optional configuration is available:

  • Set purge_messenger.delay to delay message delivery
  • Set purge_messenger.immediate to buffer invalidations and send them in a batch after the HTTP response is sent.

Activity

Tracked releases
4
Tracked since
May 2026
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0-beta4 Pre-release Jun 25, 2026
1.0.0-beta3 Pre-release Jun 8, 2026
1.0.0-beta2 Pre-release May 26, 2026
1.0.0-beta1 Pre-release May 25, 2026