Check our Summer Specials! Get a Free Account or SEO Bundle with 80% off. View Offers

How to enable caching in Drupal

Overview on how to speed up your website

This tutorial will review the process of enabling caching on your Drupal website. If speed is what you are looking for, this is a good way of achieving your goal.

 

To enable caching, you need to log into your website as administrator and click on the Configuration tab from the main menu.

 

Access Configuration menu in Drupal

 

Locate the Development section and then Performance

 

Access performance settings in Drupal

 

Edit the following options:

 

  • Caching - Set the caching for blocks and specify if caching should be also used for anonymous users on your website.
  • Minimum cache lifetime - Set the minimum time before a cached page can be recreated.
  • Expiration of cached pages - Set the maximum time an external cache can use a cached page.
  • Bandwidth optimization - Enable aggregation of CSS and JS files.

 

Caching options in Drupal

 

To clear the cache, you will have to access the cache manager again and then click on the Clear all caches button.

 

Clear cache in Drupal