Experimental project

This is a sandbox project, which contains experimental code for developer use only.

A Drupal 8 cache implementation using Unix shared memory segments through the Shmop set of functions.

Unlike the MemoryBackend cache implementation, the ShmopBackend does store cached items between requests.

As the cache objects are stored in memory, this cache implementation should provide fast access to data and eventually improve performance, in some cases (performance stats to be collected soon).

Use this on a dedicated server that you manage yourself ; please do not use this on shared hosting, as other users could access or modify your website cache.

To enable, download the module, enable it and update the settings.php file like this :

Everything in Shmop :

$settings['cache']['default'] = 'cache.backend.shmop';

Only bootstrap cache :

$settings['cache']['bins']['bootstrap'] = 'cache.backend.shmop';

See the list of available cache bins.

Project information