定制 glue-agency/craft-varnishpurge 二次开发

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

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

glue-agency/craft-varnishpurge

最新稳定版本:5.0.0

Composer 安装命令:

composer require glue-agency/craft-varnishpurge

包简介

A plugin that lets you purge varnish cache

README 文档

README

Allow purging of urls and tags from the Craft CMS interface.

By default only url purging is enabled for non-admins. Enabling tag purging for other users or groups can be done on the permissions page.

Configuration

You can either use a dedicated config file, or use environment variables to keep secrets out of version control.

Config file

Create a varnishpurge.php file in your config folder.

<?php

return [
    'ip' => '127.0.0.1',
    'port' => '6082',
    'version' => '5.0.0',
    'secret' => '[YOUR-PRE-SHARED-SECRET-AS-SETUP-ON-VARNISH-SERVER]',
];

Env variables

Define your environment variables in the plugins settings page & in your .env file

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-24