Recently noticed High Pageload Time and CPU usage – Steps I have performed to Fix it – WordPress Optimization


After thinking for almost a day I have decided to share the strange behavior which I noticed last week on It’s nothing special but I’ve suddenly noticed below site behaviors:

  • Increase in CPU usage
  • Number of 500 and 502 errors
  • High page load time

I debugged my WordPress site for almost 2 days and after performing below steps now I think I have fixed all above issues.

But first let’s check out some stats:

1) 500 and 502 Error Graphs from Google Webmaster Tools. Direct link.

Google Webmaster Tools - Crunchify 502 Errors

2) Page Load Time metrics from Google Web Master Tools. Direct link.

3) High CPU usage and high number of processes noticed via CPanel process explorer.

Tasks I’ve performed to fix this:

1) Removed Twitter and Google+ Sharing Javascripts which we have to add to each page if you have Follow Buttons.

2) Removed Two plugins.

  • Digg Digg Social Sharing
  • Jetpack

3) After removing Digg Digg Social sharing plugin I saw some improvement but not that much. But after removing Jetpack I’ve seen major performance improvements.

JetPack Causing Too Much CPU usage

4) Added below browser caching options to .htaccess file. Just incase you need to follow complete tutorial.

5) WordPress DB optimization. Follow this tutorial.

6) Number of CSS optimization + Some tricks.

Checkout the result now.

1) Page size reduced to ~900KB from 1.8MB.

Pingdom Crunchify Test - Page size reduced

2) Page loads now much faster. ~0.6 Seconds. WP Super Cache is my favorite Cache plugin.

WP Super Cache Rocks

If you also have the similar issue and wanted to share your experience you are most welcome. Please shoot out your optimization tips in below comment section. Enjoy & Happy Blogging.

Have a suggestion or anything to add to this article? Chime in and share as a comment.



Check your domain ranking