Our small but precious websites
Customarily, any person who owns or manages a website in WordPress would have them for small-scale purposes like a personal site rather than those that could handle large-scale business dealings. And therefore, the server of the website that we use for the same would also be compact. They would run on low cost. As a result, they would have their own limits too. This would also mean that there will be limitations to the database and bandwidth that can be used in the website. Also, the files that are stored. We would definitely go for a slightly smaller plan for cost effectiveness. Therefore, it always feels like boiling the ocean when we have to use the website with effective optimisation. This might put you in difficult situations if not handled properly. Now, let me tell you the problems that you might face in this accord and suggest you some ‘the best’ solutions.
The abundance of drafts
Let us consider this. You are logging into your WordPress website and are putting up a new post. Here we would consider post as an example. Let the post be any, like a product if it is a commercial site, an article, a page or even adding a new image, as WordPress handles this for us by using the post feature in the website which it calls, custom posts. Now, the first time we create a post, let us say, an article. It is very common that the same draft would not be published at once. It might go through several additions and deletions in content and a properly edited final draft would be published. In this case, something that happens with WordPress by default, in its background, is that every time a draft of say, the article , was created; when we had to leave it the middle of something else or we had to give it an in-effect edit, it would create a collection of those drafts of the article in the name of Revisions. Now this is done so that every data is being restored and we could go back to it whenever it is necessary or even for temporary storage. Supposedly, if we completed a post after giving it an edit around 15 times, WordPress will have around 20 or 30 copies of that post saved!
But also, meet the space eater!
However, I hope you understand how this would use much of the size of a database for a single post. Unfortunately, this is something we even miss to notice as it is an invisible element on the user interface. Now, here is the happy news! You can actually disable this feature of the storage of drafts as revisions if you want, to any of the posts you would ever create from then. Even though Revisions are sometimes a useful feature. However, suppose you do not really need this feature, you will be able to save a lot of space on your database. Does that excite you? Then let me tell you about a simple plug-in that you could use for this purpose.
This plug-in is called Disable Post Revision. Like any other plug-in is being installed, you could search for this plug-in on WordPress. You could then install it. After that, once you do the admin login to your WordPress site, you could go to the settings menu. In that, you will see a tab called ‘Writing’. In that page, you will see a section called Disable Post Revisions. You could select it and see the list of all the custom post types in your website whether media or pages or posts or anything that your post comprises. It will show you the post types that have revisions along. You could now select posts for which you do not want the revision drafts in its background. Once you select and save them, the revisions to those posts would be deleted saving a lot of your space. This would in turn help you with database optimisation. What is more attractive is that this plug-in has no complications that you should have an eye on. It keeps your work and your website simpler too.
Here I am
You should definitely try this plugin if you are concerned about your website the same way. I hope you will have a great experience using it! For any queries or doubts you have on the way, please use the comment section below so that we could fix it together. Your comments on the plug-in is much appreciated.
Have a great day, pal!