Configuring Drupal caching

Caching is a topic at the centre of Drupal performance. It's an extremely useful feature that serves to reduce server load for anonymous users, and therefore increase page load time.

In this recipe, we will be configuring Drupal's site wide caching, caching of Views, and finally, caching of Panels.

Getting ready

In order to complete this recipe, you will need to have already created a Panel with some content. You will also need to have created a View, or enabled one of the sample views. You will also need to enable the Page manager module.

How to do it...

  1. Select Configuration from the admin menu, then select Performance.
  2. In the CACHING fieldset, check the options Cache pages for anonymous users and Cache blocks.
  3. Set the

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.