{"id":22000,"date":"2011-04-06T11:51:20","date_gmt":"2011-04-06T06:21:20","guid":{"rendered":"https:\/\/www.amitbhawani.com\/blog\/?p=22000"},"modified":"2011-04-06T11:52:41","modified_gmt":"2011-04-06T06:22:41","slug":"optimizing-wordpress-cpu-consumption","status":"publish","type":"post","link":"https:\/\/www.amitbhawani.com\/blog\/optimizing-wordpress-cpu-consumption\/","title":{"rendered":"Optimizing WordPress for Less CPU Consumption"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-22003\" title=\"Optimize WordPress\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress-300x300.jpg?resize=150%2C150\" alt=\"Optimize WordPress\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg?resize=120%2C120&amp;ssl=1 120w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg?w=500&amp;ssl=1 500w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>WordPress is the CMS which is used by millions of users every single day and by default many of these users have issues with their web hosting service providers who keep complaining about the high server resource sage and then suspend the blogs for the same reason. You can signup for <a href=\"http:\/\/besthostingadvices.com\/wordpress-hosting\/\">WordPress Web Hosting<\/a> but its not really suggested because most of the tweaks can be performed by you. In this article we will be discussing about all the different ways using which you can fix and optimize your blog to the maximum.<\/p>\n<h3>Backup<\/h3>\n<p>The first suggestion we would give you is to take a backup of your hosting account first, because if something goes wrong you can easily revert back to the original state. Check out the <a href=\"https:\/\/www.amitbhawani.com\/blog\/wordpress-blog-backup-plugins-tools-tutorials\/\">WordPress Blog Backup Plugins<\/a> or our article on <a href=\"https:\/\/www.amitbhawani.com\/blog\/reinstall-wordpress-checkrepair-database-tutorial\/\">Reinstall WordPress Database<\/a>. You also need to <a href=\"https:\/\/www.amitbhawani.com\/blog\/find-server-load-of-your-websites-hosting-server\/\">Find Server Load<\/a> prior to taking back ups because if the load is very high the backup job would get struck in the middle. Also ensure that you have upgraded WordPress to the latest version and have <a href=\"https:\/\/www.amitbhawani.com\/blog\/optimize-blog-database-tables-remove-post-revisions\/\">Optimized Blog Database Tables<\/a> to ensure that the script version is perfect with no clutter.<\/p>\n<h3>Cache Data<\/h3>\n<p>The next important suggestion would be to install a plugin which Caches all your blog data. There are many plugins available but the best ones would be :<\/p>\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-super-cache\/\">WP Super Cache<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/w3-total-cache\/\">W3 Total Cache<\/a><\/li>\n<\/ul>\n<p>Both of the above suggested WordPress plugins work great and are having almost similar functions which also support very huge traffic spike and give a static page to the readers when the server load is very high. You need to ensure that the Page Cache is Enabled, Page Cache Method = Disk (Enhanced)<br \/>\nand Database Cache is also Enabled. Once this is done you can find that the blog posts loading speed is also decreased and the CPU Consumption is also reduced.<\/p>\n<h3>Themes<\/h3>\n<p>Most of the times its not the Server configuration which makes the blog load slowly and also perform very bad, but its the theme which is used. This is because in most of the cases bloggers tend to use Magazine Styled themes which have a lot of effects and images displayed increasing the server load. You also need to ensure that the theme is not having any issues which could generate errors, you can confirm this under the Cpanel &gt; Logs for Error Logs and fix all those errors.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Twenty-Ten-WordPress-Theme.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-22010\" title=\"Twenty Ten WordPress Theme\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Twenty-Ten-WordPress-Theme-300x235.png?resize=300%2C235\" alt=\"Twenty Ten WordPress Theme\" width=\"300\" height=\"235\" srcset=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Twenty-Ten-WordPress-Theme.png?resize=300%2C235&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Twenty-Ten-WordPress-Theme.png?resize=150%2C117&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Twenty-Ten-WordPress-Theme.png?w=978&amp;ssl=1 978w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Most of the recent <a href=\"https:\/\/www.amitbhawani.com\/blog\/best-wp-adsense-themes\/\">WordPress Themes<\/a> support dynamic image resizing which takes a huge server resource and which would increase your load, try to disable these kind of options. Try to use simple themes which are not backed with any framework in order to reduce the number of queries run when a page is loaded. Our suggestion would be to try our customizing the default Twenty Ten WordPress theme to the fullest and using it.<\/p>\n<h3>Disable Plugins<\/h3>\n<p>Few months back we had published a article on <a href=\"https:\/\/www.amitbhawani.com\/blog\/reduce-cpu-server-load-blogs-removing-related-posts-plugin\/\">Reduce CPU Server Load for Blogs by Removing Related Posts Plugin<\/a> which was mainly going to give you a idea on why we don&#8217;t suggest using Related Posts Plugin along with few statistics. Along with this its also suggested to use third party services like <a href=\"http:\/\/www.linkwithin.com\/\">linkwithin<\/a> which don&#8217;t use your server resources for displaying the thumbnails and would quickly load the blog pages. We had also suggested the same under the <a href=\"https:\/\/www.amitbhawani.com\/blog\/plugins-display-related-posts-thumbnails\/\">Best Plugins to Display Related Posts with Thumbnails<\/a>. There are many other Related Posts plugins like WordPress Related Posts, YARPP which significantly cause high load.<\/p>\n<p><a href=\"https:\/\/www.amitbhawani.com\/blog\/reduce-cpu-server-load-blogs-removing-related-posts-plugin\/\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" title=\"WordPress Server Load\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/09\/CPU-Server-Load-Usage.png?resize=410%2C169\" alt=\"WordPress Server Load\" width=\"410\" height=\"169\" \/><\/a><\/p>\n<p>Next if you have installed any plugins like StatPress, Live, WP OnlineCounter etc you need to stop using them because they also add additional server usage and its suggested to use <a href=\"http:\/\/www.google.com\/analytics\/\">Google Analytics<\/a> for detailed stats and services like <a href=\"http:\/\/whos.amung.us\/\">whos.amung.us<\/a> for tracking live visitors on your blog. Always make sure that all those plugins which need more sql queries to be run should be disabled and this can help in better hosting management.<\/p>\n<h3>Crawl Rate<\/h3>\n<p>Few blogs which are linked from thousands of different websites are generally crawl on a very high rate which literally means that the Search Engine spiders are crawling those blogs 24&#215;7 and increasing the load on the server. If you are not really adding much content on your blog, then its suggested to reduce the crawl rate. You can do this visiting the <a href=\"https:\/\/www.google.com\/webmasters\/tools\/home?hl=en\">Google Webmaster Tools<\/a>. Here in under the Site Configuration > Settings > Crawl rate &#8211; you will be shown with two options :<\/p>\n<ul>\n<li>Let Google determine my crawl rate (recommended)<\/li>\n<li>Set custom crawl rate<\/li>\n<\/ul>\n<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Google-Crawl-Rate.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Google-Crawl-Rate-300x137.png?resize=300%2C137\" alt=\"Google Crawl Rate\" title=\"Google Crawl Rate\" width=\"300\" height=\"137\" class=\"alignnone size-medium wp-image-22022\" srcset=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Google-Crawl-Rate.png?resize=300%2C137&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Google-Crawl-Rate.png?resize=150%2C68&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Google-Crawl-Rate.png?w=741&amp;ssl=1 741w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Select the second option and then make changes to the available settings by moving the slider. Click on save and this would ensure the search engine spiders would visit the blog less and make less use of your resources. <\/p>\n<p>The above listed different options wont give you any guarantee on decreasing the CPU resources but can for sure help you in decreasing the same to a considerable level. You can also try out discussing with your hosting service provider&#8217;s tech support or contacting a professional server techie in order to fix all of the above issues and making sure that you <a href=\"https:\/\/www.amitbhawani.com\/blog\/increase-wordpress-blog-loading-speed-by-compressing-css-files\/\">Increase Blog Loading Speed<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is the CMS which is used by millions of users every single day and by default many of these users have issues with their web hosting service providers who keep complaining about the high server resource sage and then suspend the blogs for the same reason. You can signup for WordPress Web Hosting but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":22003,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[376],"tags":[],"class_list":{"0":"post-22000","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-wordpress","8":"entry"},"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2011\/04\/Optimize-WordPress.jpg?fit=500%2C500&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":9617,"url":"https:\/\/www.amitbhawani.com\/blog\/access-website-before-dns-propagation\/","url_meta":{"origin":22000,"position":0},"title":"Access Website before Dns Propagation with Hosts File","author":"Amit Bhawani","date":"March 31, 2010","format":false,"excerpt":"There would be many different reasons because of which you would plan to change your Web Hosting company, most of the cases in which it would be regular downtimes, server configuration issues, upgradation requirements, need for higher bandwidth of space, need for a VPS or may be any other issue.\u2026","rel":"","context":"In &quot;Ultimate Guides&quot;","block_context":{"text":"Ultimate Guides","link":"https:\/\/www.amitbhawani.com\/blog\/category\/guides\/"},"img":{"alt_text":"How Internet Works","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/03\/How-Internet-Works.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/03\/How-Internet-Works.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/03\/How-Internet-Works.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/03\/How-Internet-Works.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/03\/How-Internet-Works.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5324,"url":"https:\/\/www.amitbhawani.com\/blog\/schedule-blog-database-backup-files-data\/","url_meta":{"origin":22000,"position":1},"title":"Schedule Blog Database Backup Files &#038; Data","author":"Amit Bhawani","date":"August 21, 2009","format":false,"excerpt":"You cannot always rely on your Web Hosting Company for your Blog's Data & Files hosted in your hosting account because at times when there is a Hard Drive Failure you can lose everything ranging from your files and the database along with complete emails wiped off which is when\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Blog Backup Schedule","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2009\/08\/Blog-Backup-Schedule-150x150.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":15330,"url":"https:\/\/www.amitbhawani.com\/blog\/secure-cheap-website-hosting-managed-private-cloud-hosting\/","url_meta":{"origin":22000,"position":2},"title":"Secure &#038; Cheap Website Hosting with Managed Private Cloud Hosting","author":"Amit Bhawani","date":"October 7, 2010","format":false,"excerpt":"The world of public cloud hosting can be a scary, albeit inexpensive, place for sensitive data to be stored. When data is stored on a public cloud, your information is placed in a collection of servers where multiple users are also storing their data. There are low priced alternatives that\u2026","rel":"","context":"In &quot;Web Tools&quot;","block_context":{"text":"Web Tools","link":"https:\/\/www.amitbhawani.com\/blog\/category\/web-tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/How-Private-Cloud-Hosting-Works.png?fit=580%2C364&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/How-Private-Cloud-Hosting-Works.png?fit=580%2C364&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/How-Private-Cloud-Hosting-Works.png?fit=580%2C364&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1482,"url":"https:\/\/www.amitbhawani.com\/blog\/backup-blogs-email-computer\/","url_meta":{"origin":22000,"position":3},"title":"How to Schedule Backup Blogs to Email\/Computer","author":"Amit Bhawani","date":"September 25, 2008","format":false,"excerpt":"Its very good that you have started blogging and have started making money online but taking a backup of all your data is very important as much as is the promotion of your blog. Generally most people neglect this part when they are into serious blogging and when problems like\u2026","rel":"","context":"In &quot;How to Guide&quot;","block_context":{"text":"How to Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3757,"url":"https:\/\/www.amitbhawani.com\/blog\/move-wordpress-blog\/","url_meta":{"origin":22000,"position":4},"title":"How to Transfer a WordPress Blog from One Host to Another","author":"Amit Bhawani","date":"May 11, 2009","format":false,"excerpt":"Do you want to Transfer a Wordpress based blog from one web hosting company to another one? Then you might find this tutorial helpful because we are going to actually transfer a website and recommend you the most important steps which should be taken care of while moving the website.\u2026","rel":"","context":"In &quot;How to Guide&quot;","block_context":{"text":"How to Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/how-to\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5173,"url":"https:\/\/www.amitbhawani.com\/blog\/convert-transfer-blogspot-wordpress-blog\/","url_meta":{"origin":22000,"position":5},"title":"How to Convert or Transfer Blogspot to WordPress Blog","author":"Amit Bhawani","date":"August 3, 2009","format":false,"excerpt":"Blogspot blogs are always limited with a lot of limitations out of which the most important one is the blog url which is suffixed with a .blogspot.com, which is really hard to remember because whenever you try to tell your friends or clients about your blog url which would have\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Blogger-Wordpress-Conversion.jpg?fit=500%2C334&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/22000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/comments?post=22000"}],"version-history":[{"count":0,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/22000\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media\/22003"}],"wp:attachment":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media?parent=22000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/categories?post=22000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/tags?post=22000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}