putyourlightson/craft-blitz-keycdn

Blitz 插件的 KeyCDN 缓存清理器。

5.0.0 2024-04-08 15:42 UTC

This package is auto-updated.

Last update: 2024-09-08 16:44:51 UTC


README

Stable Version Total Downloads

Blitz KeyCDN 清理器 for Craft CMS

KeyCDN 清理器插件允许 Blitz 插件为 Craft CMS 智能清理缓存在 KeyCDN 上的页面。

文档

请阅读文档:putyourlightson.com/plugins/blitz »

许可协议

此插件需要一个通过 Craft Plugin Store 获得的免费商业许可证。

要求

此插件需要 Craft CMS 3.0.0 或更高版本,或 4.0.0 或更高版本,或 5.0.0 或更高版本。

安装

要安装插件,请在 Craft Plugin Store 中搜索“Blitz KeyCDN 清理器”,或使用 composer 手动安装。

composer require putyourlightson/craft-blitz-keycdn

然后您可以在控制面板中或 config/blitz.php 中选择清理器和设置。

// The purger type to use.
'cachePurgerType' => 'putyourlightson\blitzkeycdn\KeyCdnPurger',

// The purger settings.
'cachePurgerSettings' => [
   'apiKey' => 'sk_prod_abcdefgh1234567890',
   'zoneId' => '123456789',
],

PutYourLightsOn 创建。