Skip to content

wieni/wmpage_cache_redis

Repository files navigation

wmpage_cache_redis

Latest Stable Version Total Downloads License

A Redis cache storage for wieni/wmpage_cache

Installation

This package requires PHP 7.1, PhpRedis and Drupal 8 or higher. It can be installed using Composer:

 composer require wieni/wmpage_cache_redis

To enable this cache storage, change the wmpage_cache.storage container parameter:

parameters:
    wmpage_cache.storage: wmpage_cache.storage.redis

    wmpage_cache.redis.prefix: 'wmpage_cache:'

Make sure to also set the host & base in settings.php.

$settings['wmpage_cache.redis.connection']['host'] = '127.0.0.1';
$settings['wmpage_cache.redis.connection']['base'] = '0';

Changelog

All notable changes to this project will be documented in the CHANGELOG file.

Security

If you discover any security-related issues, please email security@wieni.be instead of using the issue tracker.

License

Distributed under the MIT License. See the LICENSE file for more information.