Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Purge Messenger

Security covered Under active development 4 sites

Part of the Purge ecosystem · 19 projects

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.

Ask your assistant about Purge Messenger

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta4 Pre-release 10–11 Jun 25, 2026
1.0.0-beta3 Pre-release 10–11 Jun 8, 2026
1.0.0-beta2 Pre-release 10–11 May 26, 2026
1.0.0-beta1 Pre-release 10–11 May 25, 2026