Points to consider before installing a new wordpress plugin

Installing a new plugin is very easy in wordpress. All you need to do is to search for your plugin, select it, install and activate. If you do not find it suitable to your needs, just deactivate, delete it and move on. However not many people realise what a plugin does in the background once it gets activated and assume that once a plugin is deleted its all gone which is really not true in most cases. A deleted plugin mostly leaves quite a few traces in your system. Depending upon the plugin these traces can severely affect the performance of your system if you try too many plugins without checking what it does in the background Many plugin developers do not follow WordPress coding standards. They do not provide an unintall function for the plugin. This means you need to manually clean up all the traces of the plugin after it is deactivated and deleted. I am currently not experiencing any performance issue with...
Read More
How to tackle WordPress slow queries

How to tackle WordPress slow queries

Here are some wordpress slow queries i.e. queries which take more than 0.05s. It really depends on your wordpress site i.e. how big is the database, plugins and your site configuration. However if you are facing performance issues related to the Dashboard then it is more likely to be due to the slow wordpress dashboard queries. Query Monitor is good plugin to check/analyse your slow queries. Some Wordpress Slow queries Below query auto populates the custom fields drop down box. [crayon-59c7e9b240e5e722236722/] For large tables this query can take lot of time like 2secs or so. If you do not need custom fields it is very easy to turn them off using below function. [crayon-59c7e9b240e6a422440864/] For more information read this interesting post on CSS Tricks Below query runs on every Dashboard page so it is important that your wp_options table is optimised. [crayon-59c7e9b240e6f442298298/] Depending upon the plugins you have installed, the wp_options table size can grow rapidly. Some plugins use this table to store _transient options. These _transient options are objects stored in cache....
Read More