Since my last post, we’ve been looking at other hosting options. As I mentioned, Godaddy.com drove us crazy trying to sell us stuff all the time (and their control panel is confusing and difficult to use), so we did some online research into other hosts. As our client has multiple websites, we wanted to standardise on the webhost’s control panel. CPanel is easy to use and usually comes with free plugins and options, like WordPress (it depends on what the hosting company decides to offer with their hosting package).
Two hosting companies that seemed to have good reviews, offered CPanel and value for money were Bluehost.com and Justhost.com. We contacted them to determine if they would move a site to a different server if one of their servers was blocked by the Great Firewall of China. Both companies responded ‘of course’ in a timely fashion – all good so far!
We took out accounts with both companies and uploaded identical content. Again, using the online webpage speed testing utility, www.webpagetest.org, we tested the server response (time to first byte) and how long it took the full webpage to load. We used the default settings (Dulles and IE7). After averaging the test results and ignoring the odd outlying result* we came to the conclusion:
Justhost had slightly faster time to first byte
The time to load the full page was slightly faster on Bluehost.
More info about what these terms mean can be found on the webpagetest Help.
The tests we did using the China location on webpagetest.org came to the same conclusion.
The bottom line is that both hosting companies’ performance were largely the same, so it would come down to other factors when choosing between them e.g. price, ease of use, add on offers etc.
Something else we tried was moving the images to Google’s free website hosting. This shaved about 2 secs off the pageload time – so was well worth doing. Unfortunately, the images then weren’t visible from within China. If the Google servers hadn’t been blocked by the Chinese firewall then we would have placed all static assets – images, videos, pdfs, javascript etc on the Google server and just left the HTML files on the other webhost. Why not put everything on the Google servers? Their interface is designed more for basic websites e.g. for hobbists or clubs (think, Websites for Dummies). It doesn’t offer enough options and flexibility for a commerical site.
We also tried putting the images into Amazon’s CloudFront content distribution system, but there was no improvement in the page loading time. Might be better for streaming video – we didn’t try it.
*After running the tests multiple times we noticed that the results are not very reproducible. I guess this is understandable as it depends on the internet route each test takes, but about ever 3-4th test, using the same conditions, we got real outliers, which we removed from the test results. For example, one test returned 0.290s/10.641s for the time to first byte/time to load full page and the next test, using exactly the same settings, returned 1.458s/16.103 s.