承接 everyday/craft-element-cache-buster 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

everyday/craft-element-cache-buster

Composer 安装命令:

composer require everyday/craft-element-cache-buster

包简介

Bust the Craft CMS cache when an entry is updated/deleted, a structure is moved or a project config is updated or applied.

README 文档

README

Bust the Craft CMS cache when an entry is updated/deleted, a structure is moved or a project config is updated or applied regardless of how you access the data (Element API/GraphQL/other).

Have you ever wanted to use cache on the Element API, but noticed that the cache is never cleared? We have!

This plugin exists for the sole purpose of solving that ultra simple and specific use case.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require everyday/craft-element-cache-buster
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Element Cache Buster.

Element Cache Buster Overview

Whenever you update a an entry, move a structure or apply the project config the Craft CMS cache will be flushed.

This plugin was originally intended to be used for just clearing the Element API cache, but it's not possible to fetch all current Element API cached keys using the available methods on Yii's cache service. That's why it just clears the cache for everything.

Configuring Element Cache Buster

It's simple! You can either enable or disable the plugin in the settings.

Brought to you by Everyday AS

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固