ShmopBackend

Component ID

2363093

Component name

ShmopBackend

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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.