devgeniem/wp-disable-redis-object-cache-dropin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devgeniem/wp-disable-redis-object-cache-dropin

最新稳定版本:1.0.0

Composer 安装命令:

composer require devgeniem/wp-disable-redis-object-cache-dropin

包简介

WordPress mu-plugin disabling Redis Object Cache for WordPress at various occasions.

README 文档

README

geniem-github-banner

Redis Object Cache for WordPress Disabling Handler

Latest Stable Version Total Downloads Latest Unstable Version License

This WordPress mu-plugin controls disabling the Redis Object Cache for WordPress dropin at various occasions.

The plugin currently supports disabling the Redis while previewing a WordPress article or page. If you want to extend the disabling functionality to other events, please write an issue about it or make a pull request.

Installation

$ composer require devgeniem/wp-disable-redis-object-cache-dropin

Disabling events

Preview

Read and write requests to the Redis cache should be prevented while a user is previewing an article or a page. This is done by disabling the Redis connection altogether by returning a false value with the object cache dropin's redis_object_cache_redis_status.

Note that the disabling starts after the global WP query is set thus enabling initial cache functions like options loading and updating.

License

GPLv3

Maintainers

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-05-20