Optimization

Limit Post Revisions

Control the maximum number of post revisions stored in database per post to save disk space and reduce database bloat without losing edit history

optimization revisions limit database performance

Limit Post Revisions is a part of WPSwitchboard • Get lifetime access to all 137+ modules for $349 $149

Key Features

Control the maximum number of post revisions stored in database per post to save disk space and reduce database bloat without losing edit history

  • Configurable revision limit
  • Sets WP_POST_REVISIONS constant
  • AJAX endpoint to clean existing revisions
  • Database optimization

Real-World Use Cases

Database Size Control

Limit revisions to 5 per post on content-heavy sites with thousands of articles to prevent database from growing to gigabytes.

Backup Speed

Reduce revision count to speed up database backups on sites where backup plugins struggle with oversized wp_posts tables.

Performance Optimization

Cap revisions on WooCommerce sites where product descriptions get edited frequently, preventing database bloat.

How to Use

Set the revision limit in the module settings and use the AJAX function to clean existing post revisions, preventing database bloat.

Benefits & Impact

Time Savings

Automates manual tasks and streamlines your workflow

Performance Boost

Improves site speed and database performance

Better UX

Provides a better user experience

Easy Maintenance

Simple setup with minimal ongoing maintenance

Related Modules

OPTIMIZATION

Database Optimizer

Clean and optimize WordPress database tables by removing post revisions, spam, trashed items, expired transients, and unused data to improve performance and speed

optimization database cleanup +2
OPTIMIZATION

Disable Dashicons (Frontend)

Remove Dashicons icon font from frontend when admin bar is hidden to improve page load speed by eliminating unnecessary font file for non-logged users

optimization dashicons frontend +2
OPTIMIZATION

Disable Embeds

Disable WordPress embed functionality and related scripts to improve page load speed by removing oEmbed discovery links and unnecessary JavaScript files from frontend

optimization embeds disable +2
WPSwitchboard

Powerful WordPress Admin Modules
for Enhanced Productivity

Access 137+ powerful WordPress modules to customize and optimize your admin experience.

Get Lifetime Access - $349 $149
Core Modules
137+
Admin Tools, Security, Optimization, and more
Enhance your WordPress admin experience
Admin Tools
Dashboard Enhancements
Customize admin interface
Security & Performance
Optimization Modules
Secure & optimize your site