Are you searching for a way to remove WordPress post revision? If yes, then you are at right page. In this page, we will discuss about WordPress post revision and the way to disable it.
WordPress revisions is an awesome thing of WordPress. It stores a record of each saved draft or published updates of a post. This system allows you to see what changes were made in each revision. What was added, what remained unchanged and what was removed. Lines added or removed will be highlighted. Revision page also lets you compare two reveisions. One important thing is that autosave will have only one revision for single user. Read more about WordPress revision here.
Does WordPress Revision impacts on load time?
It is a common myth that having multiple post revisions slows down your website. Actually WordPress is smart enough to optimize your posts. So if you have few posts, then you will not see any impact. But it consumes your space. And if the number of posts are too large, then it will also have little impact in query time. If you are hundreds of posts, it means you have few hundreds of revisions which are almost copies of your post. So, you can delete revisions to decrease the size of the database.
How to delete post revisions?
In my previous post about WordPress database optimization, I discussed about a nice WordPress plugin WP-DB Manager. This plugin also give you an option to delete WordPress revisions. But if you also want to disable WordPress revision feature, you can also do this by adding a single line of code on wp-config.php.
define('WP_POST_REVISIONS', false );
This line in wp-config.php will tell WordPress not to store post revisions.