Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aisforaaron/revision-trim

Drupal 7 module to help manage node revisions.
https://github.com/aisforaaron/revision-trim

drupal drupal-7 drupal7 drupal7-module revisions

Last synced: about 2 months ago
JSON representation

Drupal 7 module to help manage node revisions.

Awesome Lists containing this project

README

        

## Revision Trim Module

### Goal

Remove outdated node revisions to improve site performance.

### Install

1. Enable the module and dependencies
2. Update the settings page /admin/config/content/revision-trim
3. Enable file_lock module (if needed)
4. Configure Elysia Cron to run revision_trim_delete_revisions at some interval
5. Wait for cron to run or use admin settings form to force run

### Files

Drupal core behavior is on revision delete to remove any files that don't have any more
associations to nodes/paragraphs. If you want to keep these files, use the file_lock
module with the below settings.

File Lock module
- /admin/config/media/lock
- lock files by pattern
- pattern: *
- hooks: all file_save actions (insert and update)