This module prevents stale cache data in shared database cache environments by adding a unique prefix to cache entries for each Drupal instance. This ensures that different deployments or versions of your site do not interfere with each other's caches.
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.
Ask your assistant about Database cache prefix
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.