There are multiple myths that surround WordPress. One of these is that the more revisions of a post you store, the slower your WordPress site becomes.
If you thought of this myth as a fact till now, you should clear your mind and become worry-free.
Storing several versions of posts doesn’t impact the speed of your site because of the sophisticated technology that WordPress uses. Though it has nothing to do with the speed of your site, revisions do consume space in the database.
Revisions are like duplicate copies of posts. If you have 100 posts on your WordPress site, for example, it means there are 100 revisions of those posts as well, stored in the database.
If you want to bring down the size of your database, it’s always a good idea to disable revisions of posts.
Here’s how to do it –
1. Launch an FTP program.
2. Connect to the host with the admin username and password.
3. Navigate to the WordPress installation directory.
4. Locate the wp-config.php file, and open it on your computer.
5. Include the following code in the file.
define(‘WP_POST_REVISIONS’, false );
6. Save, and Upload the file.
You’ve successfully disabled the post revision function in WordPress. From now on, no revision copies of posts will be stored.