This project is not covered by Drupal’s security advisory policy.
This allows to use the apcu.so php extension with https://www.drupal.org/project/chained_fast module.
It also includes the Symfony apcu-polyfill, which makes it work for both apc and apcu module.
Compared to https://www.drupal.org/project/apc this backend is very stripped down to the bare basics and is pretty similar to the Drupal 8 APCuCacheBackend.php.
While the original APC module has special drush integration to ensure that actions affecting the cache during 'cli' operation are synchronized with the web backend APCu, this module relies on chained_fast to do so.
Warning: Use this module _only_ in combination with https://www.drupal.org/project/chained_fast or else cache synchronization between cli and web won't work.
To use put into settings.php:
$conf['cache_backends'][] = 'sites/all/modules/contrib/apcu/apcu.cache.inc';
$conf['cache_backends'][] = 'sites/all/modules/contrib/chained_fast/chained_fast.cache.inc';
// Chained fast configuration.
$conf['chained_fast']['fast_backend'] = 'DrupalAPCuCache';
// Cache class configuration - This uses chained_fast for all caches except the form cache. This might not be suitable for all sites, but is a good default.
$conf['cache_default_class'] = 'ChainedFastBackend';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Performance
- 69 sites report using this module
- Created by Fabianx on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 7.x-1.x-dev updated 24 Aug 2016 at 20:03 UTC