定制 wieni/wmcontroller_redis 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wieni/wmcontroller_redis

最新稳定版本:2.1.0

Composer 安装命令:

composer require wieni/wmcontroller_redis

包简介

A Redis cache storage for wieni/wmcontroller

README 文档

README

Latest Stable Version Total Downloads License

A Redis cache storage for wieni/wmcontroller

Installation

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

 composer require wieni/wmcontroller_redis

To enable this cache storage, change the wmcontroller.cache.storage and wmcontroller.cache.invalidator container parameter:

parameters:
    wmcontroller.cache.storage: wmcontroller.cache.storage.redis
    wmcontroller.cache.invalidator: wmcontroller.redis.checksum

    wmcontroller.cache.redis.prefix: 'wmcontroller:'

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

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

Run drush wmcontroller_redis:mark-expired nightly to search for stale entries and mark them for deletion.

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.

统计信息

  • 总下载量: 8.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-22