How to enable cache blocks in Drupal 7

Caching in Drupal 7 can be further configured by caching block data. Users that are registered and logged in usually receive non-cached, up to the minute data. Block caching will cause certain blocks of content (those that are not generated on the fly) to be cached for all users. This can help the site load a bit faster and spend less time on database queries with data that does not change very often. Blocks themselves are specific areas of content on the page and change from theme to theme. By default, block caching is disabled. Turning on the cache blocks feature in Drupal 7 is very simple. Simply perform the following steps.

To enable the cache blocks feature in Drupal 7:

  1. Log into your Drupal 7 admin dashboard.
  2. On the top menu bar, locate the Configuration option and click on it.
    _main-dashboard-configuration
  3. This brings you to the main Configuration category screen. Find the subcategory named Development and click on the Performance link.
  4. Once on the Performance screen, locate the Caching section and click on the checkbox labeled Cache Blocks. This enables Drupal to cache block data and store it in the database for faster site loading.
    config-dev-perf-cache-blocks
  5. Once finished, go down to the bottom of the screen and click the Save Configuration button.

You have successfully turned on the Cache Blocks feature in Drupal 7.

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+