[wordpress插件] CloudFlare Cache Purger for WordPress适用于WordPress的CloudFlare缓存清除器

wordpress 插件 文章 2020-03-20 06:20 514 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Why should I use this plugin?

我为什么要使用此插件?

If you use CloudFlare in your WordPress website and you want to boost it’s performance, you need to set your Page Rule to “Cache Everything”.

如果您在WordPress网站上使用CloudFlare并希望提高其性能,则需要将页面规则设置为“缓存所有内容”。

Unfortunately, this will cache your whole website, homepage, post page and everytime you post/edit new content you’ll have to manually purge your cache on CloudFlare’s dashboard.

不幸的是,这将缓存您的整个网站,主页,帖子页面,并且每次您发布/编辑新内容时,都必须在CloudFlare的信息中心上手动清除缓存。

Currently, CloudFlare’s provides a plugin for WordPress but it just purge your cache in case of theme changes, not post changes.

目前,CloudFlare的WordPress提供了一个插件,但它只是在主题更改时清除缓存,而不是发布更改。

So, if you are planning to BOOST your performance with CloudFlare, this plugin is what you need to avoid caching issues.

因此,如果您打算通过CloudFlare提升性能,那么就需要使用此插件来避免缓存问题。

Follow this article on CloudFlare: https://support.cloudflare.com/hc/en-us/articles/228503147-Speed-Up-WordPress-and-Improve-Performance

在CloudFlare上关注此文章:https://support.cloudflare.com/hc/en-us/articles/228503147-Speed-Up-WordPress-and-Improve-Performance

安装步骤

Prerequisite

先决条件

First you need a Cloudflare account and your API token ID.

首先,您需要一个Cloudflare帐户和您的API令牌ID。

Also, make sure your PHP version is 5.3 or higher.

另外,请确保您的PHP版本是5.3或更高版本。

From your WordPress Dashboard

从您的WordPress仪表板中

    1. Visit “Plugins” > Add New
    2. 访问“插件”>添加新内容

    3. Search for CachePurger for WordPress
    4. 搜索WordPress的CachePurger

    5. Activate this plugin from your Plugins page.
    6. 从“插件”页面激活此插件。

    How to get my Cloudflare API Key?

    如何获取我的Cloudflare API密钥?

      1. Login into your CloudFlare account
      2. 登录到您的CloudFlare帐户

      3. Enter your Profile settings page (right icon on top)
      4. 进入“个人资料设置”页面(顶部右侧图标)

      5. Scroll down and copy “Global API Key”
      6. 向下滚动并复制“全局API密钥”

下载地址
https://downloads.wordpress.org/plugin/cf-cachepurger.zip
-EOF-

AI助手支持GPT4.0