Speeding Up WordPress
Whether you’re using WordPress as a CMS, a blog or somewhere between the two, as a portfolio site, making sure your site runs quickly is absolutely paramount in this day and age. This article and screencast combo takes you through how to use a variety of tips, tricks and techniques in order to make your WordPress powered site load faster.
- Premium Themes Vs Custom Themes
- Optimising Images
- The 30%, 30kb Rule
- Using CSS Sprites
- Removing Database Heavy Plugins
- Caching Plugins Compared
- Setting Up W3 Total Cache
- Using a CDN
- Setting Up WordPress To Utilise A CDN
- Wrapping Up
- Clearly, WPShout loads far faster than Marco’s blog and there are a number of reasons for this:
- Faster files: WPShout is using a Content Delivery Network, or CDN in order to deliver the files faster. More on this, later.
- Cached files: you’ll note that images don’t show up as being downloaded again. This is because files which aren’t changed regularly are stored locally and so don’t need to be downloaded again. We get to caching later.
- Custom theme: WPShout runs a custom theme, whereas Marco’s blog runs an out-the-box premium theme. The pros and cons of each method are weighed up in the next section.
- Images are likely to be the single biggest factor that slow down your site so are well worth taking the time to optimise!
- CSS Sprites let you combine what would have otherwise been multiple images -- and multiple downloads -- into a single file.
- Lots of plugins dosn't necessarily mean your blog will load slowly, but one may lead to the other.
- Plugins which make lots of database queries aren't a problem if you use a caching plugin.
- Free CDN (this is, obviously, free, but I’ve had no experience with it; you may very well get what you pay for)