So I Broke My Website

in the process of experimenting with some building and styling ideas… and despite the headaches that ensued, it ended up being one of the best things I could have accidentally done.

Yes, I spent hours yanking my hair out and no, it was not ‘fun’, BUT it was the straw that was needed to break the figurative camel’s back enough to push me into doing a major clean-up (think ‘overhaul’) in regards to website maintenance.

If Sefyrion’s a Fixer, then I’m a Janitor – at least, in terms of front-end web development.

This clean-up was already in my queue for things to do, but after accidentally breaking my entire site, I realized that it was the perfect opportunity to get in and clean, polish, optimize, and – in some cases like with code – rewrite entirely.

Save for some minifying and compression-related actions (and the mobile stylesheet, but I’ll get to that later), I’m pretty much done and my site is now not only more lightweight and cleaner, but it’s also more optimized for loading.

In the process of cleaning everything up, I noticed an interesting conundrum:

Where GTmetrix.com – their PageSpeed analytics report in particular – really pushed for the CSS spriting of some of my smaller images (Medium priority, significant effect on my site’s ‘grade’ even though there were only 3 small images) and gave me a much better grading for doing the spriting…

I actually LOST points with Pingdom.com because the CSS spriting added additional CSS code and the additional CSS code ‘cost’ was more than the ‘benefit’ gained from doing the spiriting.

YSlow was kind of ehhh about the entire matter; once I enabled leverage browser caching and finished up with all the image optimization (to MY tastes, mind) and code-cleanup (as applicable to this round of janitorial duties), my score soared and more or less stayed put.

Granted, I haven’t done minification (I’m bad; I like to do web development on a live site as long as I am mostly confident that the code will work and so my CSS especially is in constant ‘development’ mode rather than ‘shipped and packaged’ mode) so it’s entirely possible that once I’m done – if ever – with minifying that the ding from Pingdom that I got for the additional CSS will be negated.

Regardless, it was an interesting discovery and one that I will continue to chew on as I progress in my cleaning up.

Pardon the dust!
Aith