[SOLVED][Drupal Boost] How to prevent Boost from caching Drupal error messages?

| | 1 min read

Many Drupal users were encountering a situation in their Drupal site where Boost was caching the Drupal error messages on a page. If you are facing the same situation in your Drupal site and would like to know how to prevent Boost from caching Drupal error messages then read on to find out the solution.

Many Drupal users reported success of this after applying this Boost_no_cache_cookie patch. The basic concept of the patch is to add '||' to the boost_is_cacheable function to the boost.module file (line 447). Drupal 7 users need not worry as this functionality has been added to Boost by default.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.