Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days ago
JSON representation
Drupal 7 module to help manage node revisions.
- Host: GitHub
- URL: https://github.com/aisforaaron/revision-trim
- Owner: aisforaaron
- Created: 2018-05-17T19:13:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T14:34:48.000Z (over 6 years ago)
- Last Synced: 2024-10-18T05:09:31.927Z (28 days ago)
- Topics: drupal, drupal-7, drupal7, drupal7-module, revisions
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)