WordPress caching options

If spam isn't your problem, then the server is probably hitting your MySQL database more than it should. Since WordPress depends a lot on the database, it can make quite a few requests while trying to get the information needed to render your pages. This can be really inefficient and cause astronomical loads when sites like Reddit, Digg, Slashdot, and BoingBoing link to you.

Caching tools/plugins

There are several caching plugins available which promise to improve your loading times and decrease server load, allowing your site to handle large spikes in traffic like the Slashdot effect. Please note however that since your site is being cached the user may not see any immediate updates.

There are plenty of plugins that cache MySQL requests by building static content to load instead of hitting the database for every request. Below are some that work the best on DreamHost's servers:

WP Super Cache
  • This plugin creates a static file cache of your site and loads that instead of using PHP to generate the page. Picking up where WP-Cache left off, this plugin has included advanced features as well as a plugin and hooks system. It is included with all new deluxe One-Click Installs of WordPress done by DreamHost. If you're on shared hosting, this is the best option. An installation guide can be found here: Installing WP Super Cache
Hyper Cache
  • This is probably one of the most user-friendly caching plugins out there and is an outstanding alternative for most end users.
W3 Total Cache
  • This plugin is also excellent, and gaining a lot of traction in the community, in part due to its inclusion of CDN features.
Widget Cache
  • This type of plugin works together with caching plugins above to further speed up your site – in particular if you're using many widgets.
Page Speed Optimization
  • Google Pagespeed is actually a cache. What it does is minify your files (make them smaller) and serves up those files instead of making WordPress process them. You can use 'Page Speed Optimization' as needed. View the following article for further details:
Varnish
  • If you've used DreamPress, you'll know Varnish Caching is used on the servers, which is a great thing for non-logged in users. But Memcached is also used on those servers to speed up things for logged in users. However these features are currently only available for DreamPress sites.
XCache
  • Normal VPS users have XCache available in the DreamHost panel which ties in with W3TC. If instead you want to self-install Memcached, try using the plugin Batcache to speed up WP.
Setting Up DreamSpeed CDN
  • Using DreamSpeed, your static content will be cached on the CDN which will ease the load on your account and can speed up your WordPress installation. Once you have signed up for DreamSpeed CDN from the DreamHost panel you can then log into your WordPress dashboard and enable the plugin.

See also

Did this article answer your questions?

Article last updated .