The last three weeks I had been pretty much preoccupied trying to optimize my websites and after a lot of tweaking here and there, I think I have finally managed to lower down the CPU usage of my websites. I’ve blogged about my CPU over usage and about CloudFlare, last time.
It has been a little nerve wracking, specially so since I’m not really well versed in server management. My technical knowledge is limited to design, a couple of CMS but I’m completely an ignoramus when it comes to server issues except for the basics like installations, FTP etc. I understand it the same way disk defragmentation boggles me. But I really think these things are learned by experience.
Everything is working fine and well now, however, I have plans on upgrading my current Hostgator business plan to a reseller account. I have to distribute my sites into several cpanels so I could get most of them dedicated IP’s, higher CPU quotas and for easier management too. I also need a reseller account now since I’m getting some site building requests and I could offer hosting side by side with the webdesign service.
Anyway, this experience have thought me some valuable tricks into keeping WordPress websites optimized so it doesn’t wear down the server and earn that dreaded temporary bans.
- CloudFlare – my webhost support technician recommended installing CloudFlare, which is easy coz their cpanel already has a pre-installed one-tick button to install it. I was at first hesitant to use this, but I tried it one a few sites and observed for more than a week. The verdict? Worth it! Faster loading websites, visitors stay for a longer time and access more pages, almost no more spam comments. The traffic went down and I think that is natural because a lot of bots, spammers are weeded out.
- Use a cache plugin – a must anyway for all wordpress sites. WP Super Cache plugin is my preferred plugin since its easier to configure and works well with Cloudflare.
- Remove unnecessary plugins – some plugins do consume too much unnecessary resources, so I trimmed down to the basics. Also removed plugins which are not up to date as they pose security risks.
- Replaced some plugins – I searched for a lightweight plugin to do my site SEO. I was previously using All-in-One SEO but tech support says it does use up and runs unnecessary processes. I replaced it with Greg’s High Perfomance SEO.
- Weed out too much banners and ads – yes. those excessive number of banners and adverts are also resource drainers.
Other recommended optimizer is to limit the number scripts running and avoiding too much use of encrypted pages.
Image courtesy of basketman / FreeDigitalPhotos.net