HOW TO: Optimize WordPress for Speed and Scale
At WordCamp L.A. 2012, Ben Metcalfe, co-founder WP Engine, shared his list of the things you need to do to optimize a WordPress site for speed and scale. If you missed it or weren’t there and didn’t take notes, here it is:
- Obviously, keep WordPress up to date. Right?
- Use w3-Total-Cache, WPSuperCache or Bat Cache. But only use one!
- Deactivate plugins you don’t use. Delete them but they slow down your page load time.
- Avoid bad plugins like backupwordpress, backwpup, broken-link-checker, dynamic-related-posts, file-commander, google-sitemap-generator, LinkMan, MyRP and wp-symposium-alerts.
- Dump PHP plugins with file-get-contents() or fgets() in the code, because they are calls to retrieve data from other servers, and that’ll slow you down too.
- Check You’ve got Signal Reverse IP look-ups to see who you’re sharing your server with.
- Use Flickr and YouTube as a free Content Delivery Network.
- Burn your RSS feed with FeedBurner which will minimize the the capacity required to satisfy subscribers, so you’re off loading the demand to Google’s servers, rather than yours.
- Keep your MySQL DB up to date. Use PHPMyAdmin, the OptimizeDB plugin or do it manually (ninja’s only!).
- Log slow MySQL queries here and remove the slow pokes.
- Check the site with profile tools like Debug Bar Plugin or go here.
- Use a premium CDN, like Los Angeles-based MaxCDN (event sponsor), Amazon CloudFront or CloudFlare all the time, or just for emergencies.
- Compress your images without reducing resolutions with the WPSmush.it plugin
Great useful session to end off a terrific day of WordPress insights. Thanks Austin Passey, LMU and sponsors for putting it together!
About WP Engine
Headquartered in beautiful downtown Austin, Texas — the same state where WordPress was born. WP Engine host tens of thousands of the 75 million WordPress sites and apps on Earth – a number that grows every day.
If you’re interested, I wrote another post on the key take aways from the day on the official Wordcamp L.A. blog here.