How to setup Google Page Speed Service and Review

by Ruchira on June 27, 2013

Google-page-speed-service

Google Page Speed service is the Google’s answer to Cloudflare and I have decided to give it a try on this blog to see how it works and if it makes my site faster. Normally I’m not much in to CDN’s because I could gain similar performance for less cost by using an tuned nginx setup for static content delivery. However CDN’s will be handy if you need to store lots of files. I’m managing a large social network and on there I use Amazon S3 and Cloudfront CDN for content delivery. Handling a large number of small files such as user photos and thumbnails is a worrying task and Cloud comes to rescue there. I don’t use CDN’s for this blog or any other regular web sites that I have. Just for the sake of experimenting I have tried Google Page Speed Service.

GPSS is still at beta stage and you need an invitation to get in. You can request an invitation here and you will probably receive one in few days if your site is eligible. Setting up GPSS is really is just like Cloudflare. You just have to set a CNAME record for WWW pointing at “pagespeed.googlehosted.com”.

pss-architecture

Like shown on the screenshot above GPSS works by sitting on the middle of your server and end users. GPSS servers cache the images and other scripts to deliver it quickly to the users. And there are many other advanced optimization techniques are used on it.

So after setting up the CNAME google will send you an email welcoming you to the service and you can view the status on your dashboard. And Google lets you to benchmark your site to see the improvements. Here’s a benchmark from India

page-speed

You can choose the location to do the tests and it makes a huge difference like you see on above when tested from locations, far from where your web site is hosted on. This is because Google has caching servers worldwide. The 4.2 second number you see above is because I’m not using my regular speedy nginx setup at the moment because I’m experimenting the ranking changes when using htaccess and Apache.

After setting up GPSS you might loose your rankings on Google because elements like images are served from google’s domain like 1-ps.googleusercontent.com/h/www.ruchirablog.com/*************** So because of this very own reason I have stopped using GPSS for now. I can’t risk my ranking positions because of a CDN. And when I stopped using GPSS I have received an email from Google asking for feedback and on there,

page-speed-rank-drop

Surprisingly Google knows that there is a problem with search rankings, else they wouldn’t include that right? So bottom line is that, GPSS is a great free (at least for now) product and you will save bandwidth and reduce server load by using it. But you might have to face problems with your search rankings. Be sure about what you want to do.

I'm Ruchira Sahan and all posts on this blog are completely my thoughts and writings. I love DIY and Technology. So feel free to contact me for anything about this blog and don't forget to add a comment if this blog helped you! Thanks
Ruchira
View all posts by Ruchira

Last 5 posts by Ruchira

  • Ayesh

    Well I disagree that GPPS will be effective as much as Cloudflare already is.
    Cloudflare has Anycast DNS so from the very first step, your site is using caches.
    Cloudflare also has threat control (IP blocking), location detection and insanely better performance gain.

    • http://www.ruchirablog.com Ruchira

      GPSS is anycast too. Just ping your site after configuring and you will see pings are much better than cloudflare. I’m getting about 60ms pings. And you dont really need Cloudflare for anycast DNS. I’m using Amazon Route53 :)

  • http://lazaac.com Lazaac

    wah, I’m almost setup and using it.. Thanks ruchira for make it clear for us.. At least I’m not risking my search ranking though.. maybe later I will consider on using it, but not for now..

  • http://dirtymonkey.co.uk Matt Stevens

    Thanks for this, I’m interested to see how they perform the “CSS + JS optimisations” more than the regular CDN stuff.

    If you want blistering speed I’ve found the only way to go is running your own instance of NGINX (in different locations around the world) on a host with very low latency (e.g. Linode)… but if you need good scalability as well, S3 or Cloudfare are the answer.

    • http://www.ruchirablog.com Ruchira

      Of course yes! :) Nothing is better than running well tuned Nginx setup. I have been running this blog on Nginx for past few years until very recently I moved this back to Apache for SEO purposes. Miss 1sec load times which I had those days :(

Previous post:

Next post: