Refactoring RickBeckman.org

Update: I’ve dis­abled a few plu­g­ins (you’ll prob­a­bly never miss them); I’m not sure which was slow­ing things down so much, but since doing so, the site loads 2 – 4 times faster for me, accord­ing to my page load timer. That’s a def­i­nite plus, but it isn’t a band­width sav­ings and I’d still like to trim the fat in that area a lit­tle bit, to help out my vis­i­tors still afflicted with dial-​​up Internet (hi, Dad!).

I’ve con­sid­ered doing this for quite some time, and if I don’t do it soon, it’s going to drive me crazy.

Fairly recently, I became aware of Yahoo!‘s Best Practices for Speeding Up Your Web Site; these best prac­tices com­prise 14 guide­lines which, if fol­lowed, ought to pro­vide an opti­mum expe­ri­ence for users of a website.

Using Yahoo!‘s YSlow, I’ve been shown that cur­rently RickBeckman.org is far from adher­ing to Yahoo!‘s guide­lines. Indeed, on only four of the guide­lines does YSlow award the site with A grades; on two it gets Cs, two are not applic­a­ble (appar­ently), and on six the gets Fs.

So over the course of the next few days (though the process could take longer), I’m going to be refac­tor­ing things around here. If you read this site via the syn­di­ca­tion feed, you shouldn’t notice too much (and thanks for sub­scrib­ing — you rock!); if, how­ever, you visit the site to read it, you’ll likely notice all sorts of changes.

It’s going to be inter­est­ing to see if there are any notice­able improve­ments in the site’s per­for­mance through­out the process; I’ll def­i­nitely be keep­ing an eye on Fasterfox’s page load timer through­out my experiments!

Edit to add: Actually, it may be a few days before any big changes are noticed at all; I’m going to set up a dummy blog to try out my ideas for opti­miz­ing this site, and once every­thing is work­ing beau­ti­fully there, I’ll trans­fer the code over. Until then, sit tight!

[edit to add] Progress thus far: New style cho­sen, per­fect “A” record in YSlow achieved (for all applic­a­ble points), and numer­ous style tweaks made. Stay tuned!

This entry was posted in Journal. Bookmark the permalink.

3 Responses to Refactoring RickBeckman.org

  1. Chris says:

    Hmm, inter­est­ing… Like you, the per­for­mance of my site has dri­ven me crazy, but I just chalked it up par­tially to the host­ing com­pany and par­tially to posts that had embed­ded youtube videos and such. YSlow pointed out some areas for improve­ment, though. On the var­i­ous points, I’m graded A or F, no in between. The hard part is that so much is within the WordPress core code or within themes/​plugins, it’s hard to change, and if I do, it’ll be harder to upgrade them to newer ver­sions down the road. Oh well…made a few changes that may help. Thanks for men­tion­ing the link! Didn’t know that was out there.

  2. Rick Beckman says:

    Actually, I seem to have got­ten a huge boost in per­for­mance — the home­page loads any­where from 3 – 4 times faster for me — by dis­abling the Text Link Ads plu­gin. The pocket change that pro­gram brought in each month isn’t worth hav­ing a site which creeps along like a sloth!

    And yes, it is unfor­tu­nate that plu­g­ins and the WordPress core out­put so much to the user, a lot of which is far from opti­mized. I’ve noticed in the source here at var­i­ous times close to a dozen CSS dec­la­ra­tions — exter­nally linked sheets as well as inline style tags — in the header; the same occurs with JavaScript.

    I’ve been toy­ing around with the thought of hack­ing the plu­g­ins in order to get their out­put more in line with what I’d like, but as you said, that could cause prob­lems when it comes time to upgrade.

  3. Donace says:

    I found yslow and fire­bug addon recently as well and had been try­ing every trick in the book.

    In the end i found out that my edit­ing out parts of the tem­plate i didn’t need and then stream­lin­ing all the html and css and on top the biggest boost giver gzip­ing it all i got the load time (accord­ing to http://www.websiteoptimization.com) down from 16.94secs for a T1 1.44Mbps to 2.82secs.

    So well chuffed but yslow still gives me a d :( i will be try­ing to stream­line a bit more to squeeze out per­for­mance and i look for­ward to see how much more you can squeeze out.

    Lastly a point on plu­g­ins my site is based on joomla and i found that look­ing for the more devel­oped ‘plu­g­ins’ that do the same thing cre­ated less of a load delay as they were more stream­lined and in 99% of the time alot more bet­ter at what they do.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>