Posted 1 year ago by Tom Maiaroto.
So I recently built a viral news aggregation site and I wanted to ensure it loaded nice and fast. Also keep in mind that Google will rank your site higher if it loads fast - it's been a well known factor in their rankings for a while now. They even created this cool set of tools called PageSpeed to help you with that effort.
First, you can see how your web site fares with regard to their standards by using their tools. I really have yet to see a major web site that actually scores nicely. None of the major news outlets that we all use every day rank so well. Sure, we have broadband and things load fast enough anyway - and even on our mobile devices now. However, it's still a good idea to optimize.
Why? That's easy. It cuts down costs and improves user experience. Even if your users are loading a site only a second faster...Or fraction of one...It's better for them. If you don't care about your users, then care about your wallet. Your hosting bill for transferring data will be much less expensive, even if you're saving only a few kilobytes per page load. One kilobyte times three hundred million page views is more than 286GB. That's well over $40 by current bandwidth charges from Amazon and many other services. Sure, if you get 300 million pageviews per month then you should be able to afford an extra $40...But let me remind you, that's just one kilobyte of data. It is quite easy to reduce the size of many popular web site landing pages by a full megabyte or more!
Installing Google PageSpeed for Apache is pretty easy and they have instructions for it. They also have instructions for Nginx but what if you didn't compile from source? What if you used a package manager? Well, I found someone maintaining an Ubuntu package repository for Google PageSpeed for Nginx! It worked for me with ease on Ubuntu 12.10 after getting the add-apt-repository tools, adding the repository to your sources and the installing and configuring your Nginx to use it.
There's even a nice statistics page that shows you how many bytes of data you're saving. In in other words, you can literally calculate and estimate your savings on hosting.
You should definitely do this and watch your PageSpeed rating improve, make your visitors happier, and of course make your wallet happier.
Filed under hostingdevops
Search for Posts
Popular Labelssocial media virality score general internet web development reviews and opinions php web tools hosting lithium web design
- 16 Jun Social Media Analytics on a Budget
- 15 May Thinking About Using Laravel?
- 22 Apr Why Dart?
- 16 Jan PHP 5 Framework Comparisons: Bootstrap
- 02 Jan GitHub Issues Feels
- 23 Dec News Ox: Building a Better News Aggregator
- 18 Dec Discovery and Ranking
- 12 Dec Viral News Search
- 06 Dec Flexible Twitter Bootstrap Grid
- 04 Dec Problems With Google Analytics