Views content cache is really simple to set up:
- Install and enable the module like any other Drupal module.
- Edit the view that you want to add caching to, and edit the 'Cache' property in the 'Other' pane.
- Choose the 'Content based' plugin.
- On the settings page for the cache plugin you can choose what cache segments to monitor. For example, if your view is the latest 5 blog posts, you should monitor the 'blog' node type. You should monitor any segment that you want to update your view when it is changed. This might take some trial and error to get set up correctly for you particular use case.
- Also on the settings pane, you can choose a minimum and maximum lifetime for your views cache. You only really need to set a minimum lifetime if your cache segments are being updated very regularly, say on a busy site where a new blog post is added every five seconds. A maximum lifetime will be useful if your view contains time sensitive data, like: 'Posted 3 hours ago' or to ensure that the data is correct, views content cache isn't perfect and the maximum lifetime allows you to ensure that at least once a day, for example, the cache is 'flushed'.
- That's it! Views content cache will start monitoring the cache segments and your views cache will start being used.