Xenforo - saving space

Steven Avery

Administrator

Yes, you can
save space on XenForo by configuring the system to not save earlier edits (post revisions) or to automatically prune them after a specified time.


How to configure edit history settings

You can control how post edits are handled in your XenForo Admin Control Panel (ACP) by following these steps:

  1. Navigate to Options in the ACP.
  2. Look for Logging Options or use the search function in the ACP for "editHistory".
  3. Locate the setting "Enable edit history tracking and prune after X days".
  4. To prevent edit history from being stored, you can:
    • Set the number of days to 0 to keep the history forever, or a very small number like 1 to prune the data almost immediately. Note that setting it to 0 means you keep everything, so you should use a very low number like 1 day to save space.
    • Alternatively, you can uncheck the option to completely disable edit history tracking, depending on your XenForo version and specific options available.

Important considerations

  • Existing History: Changing this setting only affects future edits and the automatic pruning of old ones. It won't retroactively delete all existing edit history data immediately.
  • Manual Deletion: To manually delete existing edit history from the database, you would need to run a specific SQL query, which is generally recommended for experienced administrators after taking a backup.
  • Moderator Tools: Disabling edit history tracking will remove the ability for moderators to view historical versions of messages and compare changes, which is a key moderation tool for transparency.
  • Other Space Savers: Attachments and images generally consume far more disk space than the text-based edit history stored in the database. If space is a major concern, managing attachments is often more impactful.
 
Top