Module Description
On cloud environments, the database cache is shared between different Drupal instances. Some instances may have an updated codebase (like during a new deployment), this means that the cache can contain stale data.
To avoid this, this module sets a cache prefix to make sure that the cache is only visible by the correct Drupal instance.
How to use it
Install the module like any other module.
Then, in the settings.php file, add the following line:
$settings['db_cache_prefix'] = 'my_prefix'; db_cache_prefix can be any string, but it makes sense to set it to some value derived from the actual deployment ID.
To avoid this, this module sets a cache prefix to make sure that the cache is only visible by the correct Drupal instance.
How to use it
Install the module like any other module.
Then, in the settings.php file, add the following line:
$settings['db_cache_prefix'] = 'my_prefix'; db_cache_prefix can be any string, but it makes sense to set it to some value derived from the actual deployment ID.
Module Link
Project Usage
77
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the issue of shared database cache between different Drupal instances by setting a cache prefix to ensure the cache is only visible by the correct Drupal instance.
Data Name
db_cache_prefix