2012-03-24, 12:53 AM
I've been able to spend a lot more time on one of my forums, rtfw.org, mainly because the person that is running it with me has been able to spend more time with it as well. One thing I've been working on is optimizing the loading speed of my website, because it's on a shared host (and will be until I can earn enough to move it to it's own small VPS) that isn't the fastest in the world. I've also been doing it as a learning experience, so even if the performance gains are negligible I would still like to know.
What I've already done:
To do:
All in all, I've managed to reduce my front page's initial hit time to an average of ~4 seconds (unless you're in Ireland in which case it's a mind-numbingly slow 6 seconds).
However, I know I can do better. What I could use help on is how. I've already run my page through https://developers.google.com/pagespeed/ and got a score of 96, but I see it as 4 points of potential improvement. On top of that, I don't think that Google's PageSpeed takes into account bandwidth optimization (and I know it doesn't take into account the Google Analytics stuff that I have no control over).
Part of the reason I wanted to optimize the crap out of my site is that the VPS I've been looking at is ~$4/mo, but has a 150GB/mo limit. It's their cheapest plan, and I believe I can upgrade as needed when the time is right, but I wanted to get things as good as possible now while it's just a nice-to-have, not while I'm panicking because it's a need-to-have. I'm focusing on size optimization first, rather than page generation speed, since that's what will affect me the most (and since most page-generation speed upgrades would be from updated software, which I have no control over on my shared host). Most of what I've done was chosen on an effort to benefit ratio, but at this point I'm getting into the little details that are easy to miss, and I know I've missed things.
TL;DR: Please help me make RTFW.org as tiny as possible while still looking good!
What I've already done:
- Sign up for CloudFlare
- Re-compress the main images used by the site (pngcrush and a little manual hex editing on the body background and a cool but a little confusing tool called Trout's GIF optimizer on the container BG, as well as pngcrush-ing all of the other pngs)
- Tweak the caching HTTP headers for various file types
- Minified prototype.js
To do:
- CSS optimization and minifying
- HTML optimization
All in all, I've managed to reduce my front page's initial hit time to an average of ~4 seconds (unless you're in Ireland in which case it's a mind-numbingly slow 6 seconds).
However, I know I can do better. What I could use help on is how. I've already run my page through https://developers.google.com/pagespeed/ and got a score of 96, but I see it as 4 points of potential improvement. On top of that, I don't think that Google's PageSpeed takes into account bandwidth optimization (and I know it doesn't take into account the Google Analytics stuff that I have no control over).
Part of the reason I wanted to optimize the crap out of my site is that the VPS I've been looking at is ~$4/mo, but has a 150GB/mo limit. It's their cheapest plan, and I believe I can upgrade as needed when the time is right, but I wanted to get things as good as possible now while it's just a nice-to-have, not while I'm panicking because it's a need-to-have. I'm focusing on size optimization first, rather than page generation speed, since that's what will affect me the most (and since most page-generation speed upgrades would be from updated software, which I have no control over on my shared host). Most of what I've done was chosen on an effort to benefit ratio, but at this point I'm getting into the little details that are easy to miss, and I know I've missed things.
TL;DR: Please help me make RTFW.org as tiny as possible while still looking good!