Memcache Storage

Memcache Storage module provides integration between Drupal and Memcached daemon using PECL memcache or PECL memcached extension.

Why should I use memcached?

Memcached reduces page load time, giving your user a faster, better experience. Remember, speed is a feature. Without memcached, each page load will need to perform database queries and HTML rendering over and over again. Often these operations take several hundred milliseconds, but sometimes they can take seconds depending on complexity and server load.

Memcached queries return in milliseconds, which is usually 100x faster than a database query or a complex render (again, depending on load and complexity). This allows any database queries or renders that are common to some of your users to be shared. Even operations unique to a user can be useful to cache if the same result will be displayed to them on every page.

Requirements

Advanced configuration

Memcache Storage module provides some additional settings for advanced users. Note that all configuration changes should be done in settings

Advanced page cache

Custom page cache expiration

Basic configuration

To enable Memcache Storage support you have to add these lines to the end of your settings.php file:

Drush support

Memcache Storage comes with three integrated drush commands.

Installation

To set up a basic memcached integration with Drupal you need to pass next three steps:

Move sessions and locks to the memory

User sessions support

Guide maintainers

spleshka's picture