sterner-stuff/cloudflare-cli
最新稳定版本:3.0.0
Composer 安装命令:
composer require sterner-stuff/cloudflare-cli
包简介
Provides a command line interface to the WordPress Cloudflare plugin, for performing cache purge actions.
README 文档
README
Requires Cloudflare 3.4+.
Provides a command line interface to the WordPress Cloudflare plugin, for performing cache purge actions.
Quick links: Using | Installing
Using
wp cloudflare cache_purge
Clears all cached files to force Cloudflare to fetch a fresh version of those files from your web server.
EXAMPLES
# Flush Cloudflare cache after new code deployment.
$ wp cloudflare cache_purge
Success: Entire site cache on Cloudflare purged.
Installing
This package depends on the \CF\WordPress\Hooks class from the Cloudflare for WordPress plugin. Make sure it is installed and active.
Via WP-CLI
wp package install https://github.com/sterner-stuff/cloudflare-wp-cli
Using Composer
composer require sterner-stuff/cloudflare-wp-cli
统计信息
- 总下载量: 280
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv2
- 更新时间: 2022-01-12