I have played around the the Drupal Cache module - and could not even get it started with the default (simplest comfiguration when used according to the documentation.
The original states:
Installation
1. Enable "Cache" (from "Cache" package) module on
Admininster -> Site building -> Modules page.
2. SETUP WEB-SITE'S settings.php CONFIGURATION FILE
Add the following lines to your settings.php:
$conf['cache_inc'] = './sites/all/modules/cache/cache.inc';
$conf['cache_settings'] = array(
'engines' => array(
db-engine => array(
'engine' => 'database',
),
),
'schemas' => array(
'db-schema' => array(
'db-engine',
)
),
'bins' => array(
'default' => 'db-schema',
),
);
?>
"default" is for the default caching schema. All valid cache bins (tables)
can be added in addition, but you must have a "default" if you skip any bins.
[From Cache | drupal.org]
But it would not work until I started going through the source, and found that the default had to be :
$conf['cache_settings'] = array(
'engines' => array(
'database-engine' => array(
'engine' => 'database',
),
),
'schemas' => array(
'database-schema' => array(
'database-engine',
)
),
'bins' => array(
'default' => 'database-schema',
),
);
Comments
Post new comment