Views caching
Steven Jones
A little while ago I blogged about views content cache as a way to increase performance of your Drupal site. Today I released version 2.2 of the module, that adds lots of lovely features.
The module has basically been re-written by Young Hahn from Development seed to provide a plugable mechanism for exposing cache segments. This means that any contrib module can contribute to keeping track of the what content has changed on the site really easily. I’ve even written a small development guide to getting started, in the drupal.org handbooks.
The module should be stable and working enough to use in production sites, and should provide a really simple way to boost performance. As an example, our main blog page takes 0.34ms to grab the data from the database (query cache) but 94ms to render the results (results cache), but with the views content cache plugin, it can just load the data from cache (xcache in our case). Much faster than 94ms.
When one of us posts a new blog post, views content cache will automatically expire the views cache of the blog view. Caching with no drawbacks, awesome!
Instructions for installing and setting up the Views content cache module are on the project page.