Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Fast Revision Purge

11 sites No security coverage Drupal 10–11
View on drupal.org

Fast Revision Purge safely and efficiently deletes old content revisions in manageable batches. It offers flexible configuration to retain recent or time-limited revisions, with safeguards to protect essential content like drafts and moderated items.

Fast Revision Purge keeps Drupal fast by safely deleting old revisions in resumable batches. Preview with dry‑run, run via cron or Drush, and protect live drafts and moderated content.

Features

  • Blazing-fast, safe purging via batches and queues that prevent timeouts and memory spikes.
  • Supports Layout Builder and Paragraph revision purges
  • Retention rules you control: keep the latest N revisions, keep revisions newer than X days, or combine both per entity type and per bundle.
  • Guards that never touch the default revision, in-use drafts, or moderated content.
  • Paragraphs and Media aware to avoid breaking references when cleaning related revision data.
  • Dry-run preview to review exact counts before deletion.
  • Multilingual friendly behavior across translations.
  • Simple Administration UI for configuring and running purges.
  • Production-safe defaults that start conservatively.

Highlights

  • A ton of safeguard features with sanity check SQL queries and drush commands to show exactly what will be purged
  • Uses latest datastructure techniques like BFS to search thru the revisions
  • Chunked, resumable batches so long purges complete without timeouts.
  • Creates indexes if they don't exist for faster purging
  • You control what to purge, Just nodes, nodes with paragraphs or layoutbuilder
  • Drush commands designed for automation and CI use.
  • A clean Administration package grouping and a distinctive logo to make the project easy to spot.

Post-Installation

  1. Enable the module in Extend.
  2. Open Configuration → Development → Fast Revision Purge.
  3. Choose a policy per entity or bundle: keep the latest N revisions, keep newer than X days, or both.
  4. Save and run a dry‑run to preview counts.

Drush usage examples:

drush frp:dry-run
drush frp:purge
drush frp:purge node.article
drush frp:status

Additional Requirements

  • Drupal core 10 or newer. Compatible with 9.5 when the stack supports it.
  • No external libraries required.
  • Optional awareness for Content Moderation, Media, and Paragraphs when those modules are enabled.
  • Admin Toolbar for quicker navigation to the configuration page.
  • Queue UI or Ultimate Cron to monitor queues and scheduled runs on busy sites.
  • Syslog or Database Logging for detailed purge logs and audits.

Supporting this Module

If this module saves you time and disk space, consider sponsoring development.Buy Me a Coffee

Module Documentation

  • Before/After Screenshot attached
  • Indepth README.md inside the module

Depends on

Dependencies of the latest stable release

  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Aug 2025
Latest release
10 months ago
Releases (12 mo)
5 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable 10–11 Oct 2, 2025
1.0.3 Stable 10–11 Sep 16, 2025
1.0.2 Stable 10–11 Sep 15, 2025
1.0.x-dev Dev 10–11 Sep 15, 2025
1.0.1 Stable 10–11 Sep 9, 2025
1.0.0 Stable 10–11 Aug 30, 2025