cowal/module-purgecloudflarecache

清除Cloudflare缓存

安装: 24

依赖: 0

建议: 0

安全: 0

星星: 0

分支: 0

类型:magento2-module

1.0.9 2024-09-01 23:18 UTC

This package is not auto-updated.

Last update: 2024-09-15 21:28:46 UTC


README

``kowal/module-purgecloudflarecache``

主要功能

清除Cloudflare缓存

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1:Zip文件

  • 将zip文件解压到 app/code/Kowal
  • 通过运行 php bin/magento module:enable Kowal_PurgeCloudflareCache 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新(*)
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2:Composer

  • 将模块发布到一个Composer仓库,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共GitHub仓库作为vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将Composer仓库添加到配置
  • 通过运行 composer require kowal/module-purgecloudflarecache 安装模块
  • 通过运行 php bin/magento module:enable Kowal_PurgeCloudflareCache 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新(*)
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  • 启用(设置/清除Cloudflare缓存/启用)

  • 电子邮件地址(设置/清除Cloudflare缓存/电子邮件地址)

  • API密钥(设置/清除Cloudflare缓存/API密钥)

  • 站点区域代码(设置/清除Cloudflare缓存/站点区域代码)

规格

  • 观察者
    • adminhtml_cache_flush_all > Kowal\PurgeCloudflareCache\Observer\Backend\Adminhtml\CacheFlushAll

属性