Maximize WordPress and BuddyPress Performance With W3 Total Cache
Wondering what all the fuss is about with people tweeting their love for caching plugins? Consider this a quick beginner’s introduction to WordPress caching, an answer to a few of the questions you may have been afraid to ask.
Today we’re going to take a look at W3 Total Cache, written by Frederick Townes, a server junkie and CTO of Mashable. This caching option is used by many high traffic sites, such as mashable.com, smashingmagazine.com, tutsplus.com, webdesignerdepot.com, pearsonified.com, css-tricks.com, and yoast.com. If you’d like to compare it to some other caching plugins, have a look at some WordPress cache plugin benchmarks for a thorough analysis of current WordPress scalability options.
What is caching?
Basic caching for WordPress involves taking the dynamic posts and pages and making them available as static files. These static files are then served to users which reduces the processing load on the server, especially during times of high traffic.
Why do I need caching for WordPress?
You may not. If your website is not trying to attract new traffic, then you’re probably safe without it. However, if you want to be prepared for a measure of success, you absolutely must have a caching option in place. Otherwise you risk overloading your server during what should be a shining moment of unprecedented traffic for your website. Even though the average website probably doesn’t need caching 99% of the time, when you do have a traffic spike, you’ll appreciate it. It’s times like these that can make or break a business. It will help you to avoid having to get an expensive dedicated server for your site if you’re only occasionally running into traffic spikes.
Benefits of Using W3 Total Cache
- At least 10x improvement in overall site performance (when fully configured: Grade A in YSlow or significant Google Page Speed improvements)
- Improves “site performance” which affect your site’s rank on Google.com
- “Instant” second page views (browser caching after first page view)
- Reduced page load time: increased visitor time on site (visitors view more pages)
- Optimized progressive render (pages appear to render immediately)
- Improved web server performance (sustain high traffic spikes)
Why is W3 Total Cache better than other caching options?
Depending on your server’s configuration you can see 50-100% improvement over WP Super Cache. However, WP Super Cache may be a better option for you if you don’t have the available RAM that W3TC requires to do its magic. W3TC utilizes your in-memory cache (APC or memcache). Memory caching is faster than disk caching, so if you’re able to dedicate at least 128M for memory caching, you should be able to see a remarkable improvement in performance.
What is CDN and how does it work?
Is W3 Total Cache compatible with WPMU and BuddyPress?
Yes. :) Yet another reason this plugin gets my vote.
- Make sure caching plugins work well with other plugins, i.e. ones that show ads based on search queries, etc.
- Memcached isn’t available on most shared hosting providers
- W3 Total Cache requires more memory than WP Super Cache, so you’ll need to make sure your hosting has that available.
- Since you manually enter CSS / JS to compress, you’ll have to do this again if you ever change your theme files or add plugins, etc.