zucommunications/rapidkit_purge 问题修复 & 功能扩展

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

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

zucommunications/rapidkit_purge

最新稳定版本:v1.2.0

Composer 安装命令:

composer require zucommunications/rapidkit_purge

包简介

A Drupal recipe to install and configure purge modules.

README 文档

README

This recipe sets up varnish purge to connect with your local varnish

How to set up

When installing the recipe, you need to provide the following information:

  • Hosted environment a - The hostname for the first deployed environment.
  • Hosted environment b - The hostname for the second deployed environment.

IT should be able to provide this information

How to Disable Purger

The purger configuration is set up like this:

$config['purge.plugins']['purgers'][0] : This is the local purger $config['purge.plugins']['purgers'][1] : This is the purger on the first hosted environment $config['purge.plugins']['purgers'][2] : This is the purger on the second hosted environment

So to disable a purger on an environment you can set the value to NULL.

This example disables the purger on both hosting environments, leaving the local purger active. (you would probably want this setup on local)

$config['purge.plugins']['purgers'][1] = NULL;
$config['purge.plugins']['purgers'][2] = NULL;

You can programmatically configure purper configuration per environment by using the $_ENV['APP_ENV'] variable.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-02-18