wieni/wmpage_cache_redis

A Redis cache storage for wieni/wmpage_cache

Installs: 572

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 1

Type:drupal-module

1.0.0-alpha1 2022-06-28 11:22 UTC

This package is auto-updated.

Last update: 2024-10-29 06:31:00 UTC


README

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.