I've compiled an easy-to-apply series on YSlow that will get your WordPress sped up in no time.
All right guys, I know there are already countless articles about speeding up WordPress all over the Google. We’ve all vied for speed when it comes to preventing our fatass blogs from choking our readers’ browsers. The problem is that while the info is definitely out there, it’s not all in one place (at least as far as I’ve browsed). Moreover, there are a couple of specific applications of the speed tricks that haven’t been clearly laid out before (particularly, applying cache-control headers to dynamic images generated by the WordPress Facelift plugin, or the ideal .htaccess settings if your host is MediaTemple). In the interest of time (and laziness, our one true virtue), I’ve compiled an easy-to-apply series on YSlow that will get your WordPress sped up in no time.
First thing’s first:
- Minimize HTTP Requests
- Use a Content Delivery Network
- Add an Expires or Cache-Control Header
- GZip Components
- Put Stylesheets at the Top
- Put Scripts at the Bottom
- Reduce DNS Lookups
Avoid Redirects(I came to your site, not theirs.) Remove Duplicate Scripts(Duh.)
- Configure ETags
I also recommend setting up WP Super Cache after all is said and done.
* Full disclosure: Where do I stand? My front page gets a big fat B (88%) for making you download a lot of crap. YSlow gleefully reports that 32 CSS background images is downright sinful.