I started to use back WP Super Cache on JayceOoi.com when W3 Total Cache was giving me issue on my VPS. And W3 Total Cache was not able to sustain PrettyGirl2u.com traffic on shared web hosting yesterday. Received warning email from HostGator about high CPU usage…
This message is to advise you of a temporary block placed on your account. This account was found to be consuming an inordinate amount of processor time, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system’s CPU in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.
Requests to this scripts under this account may become degraded by limiting the ability for scripts to run for a limited amount of time, or if the issue persists, we may be forced to restrict how fast processes can be spawned until the issue has been resolved.
We recommend taking steps to reduce the overall CPU usage for the account, which may be as simple as generating a flat HTML page for popular content, or enabling caching that is available through many popular scripts, or disabling high CPU usage features such as searches or Ajax refreshes. Although we may not be able to help in all cases, we would be more than happy to assist if you are unable to determine any cause, or if you need help interpreting any of the information.
PrettyGirl2u.com should not have any high CPU usage because it does not have comment system which will increase DB usage. And I don’t see any traffic spike on Google Analytics. Anyway, I disabled W3 Total Cache and installed WP Super Cache back. I did some studies on WP Super Cache. Haha… I should have enabled Preload Mode on WP Super Cache since day 1 I use it. I preloaded all the post and refresh preloaded WP-Super-Cache files every 720 minutes (half 1 day). This means that the server will only access to database to query information once half a day or any new comment entered. And it really does reduce CPU usage on shared web hosting.
Did you enable Preload Mode on WP Super Cache?
Yeah… It is time to show the result after speeding so much time on blog optimization. Here you are ~ JayceOoi.com site performance after optimization.
JayceOoi.com performance overview
On average, pages in your site take 6.7 seconds to load (updated on Feb 14, 2011). This is slower than 85% of sites. These estimates are of high accuracy (more than 1000 data points). The chart below shows how your site’s average page load time has changed over the last few months. For your reference, it also shows the 20th percentile value across all sites, separating slow and fast load times.
Based on chart above (from Google Webmaster Tools), there was a drop in the middle of January. That was the result after blog optimization ~ about 5-6 seconds faster. And another 1 in early February ~ Moving out from HostMonster shared web hosting to HostGator VPS hosting ~ 1-2 seconds faster.
As a result, blog optimization is very important. And good web hosting does help too.
Posted by Jayce Ooi as Ramblings
Thanks to poor DB server performance of HostMonster. JayceOoi.com was migrated to HostGator VPS Hosting Level 3 with cPanel. HostGator VPS Hosting Level 3 with cPanel is a fully managed hosting which means that HostGator will handle just about any issue or configuration request you may have with your server outside of custom software/script installations. That includes
HostGator VPS Hosting Level 3 Features
There are 9 packages for HostGator VPS Hosting. The first 2 levels are provided without cPanel and Plesk ~ Virtuozzo (VZ) Only. The control panel (cPanel and Plesk) is add-on able from level 3 onward. For those who are not familiar with Linux SSH, stay with cPanel or Plesk is the best option for you. Else you have setup everything by yourself on Virtuozzo (VZ) only package.
HostGator VPS Hosting Level 3 with cPanel Resources
Yup, you will get around 600MB of RAM and 27GB of disk space left on HostGator VPS Hosting Level 3 with cPanel. This is without any website and database installed. cPanel VPS Optimized takes up some resources. Therefore, you will not get the exact full 768MB RAM and 30GB disk space. But that won’t be any issue because there are still lot of plenty of resources left. And it is very easy to upgrade to another level (which double the resources) if you are running out of resources.
Come on, sign up and try it out…
Hmm… I always thought that Vibrant In-Text Ads only show up on US, Europe (maybe) IP addresses. But I saw one while browsing my own post ~ JayceOoi.com is moving to new hosting – HostGator VPS. Guess that Vibrant Media does support world wide ads display. Too bad that I did not sign up for Go Daddy. Its domain price is way cheaper than HostGator @ $15.
Go Daddy Ad on Vibrant Media
Posted by Jayce Ooi as Blogging tips
Most of our WordPress blogs are hosted on Linux Apache server. And there is a guide to speed up your website with Apache .htaccess file tweaks. Saw this one at AllGure.NET for quite some times but did not implement it until now. By the way, this is one of the W3 Total Cache feature ~ “Instant” second page views (browser caching after first page view). But too bad, I enabled it on W3 Total Cache and failed to work. So I stick with AllGure.NET guide, and work like a charm.
“Instant” second page view
If you did not implement it, you will see lot of not modified 304 status codes responded by your web server. You are wasting server CPU resources and user time as browser actually makes a request to web server to request for those files which are not modified. And they should be cached at browser level. So no addition requests to web server. Here are the examples using WebPagetest before and after.
How to speed up WordPress blog with Apache .htaccess?
# Turn on Expires and set default expires to 3 month
ExpiresByType image/x-icon A14515200
# Set up caching on media files for 1 month
# Set up caching on commonly updated files 1 month
# gzip compression