Linux 软件免费装
Banner图

FastCGI Cache for Ploi

开发者 filiprimo
更新时间 2026年8月28日 02:56
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cache performance purge nginx fastcgi-cache

下载

1.0.0 1.0.1

详情介绍:

FastCGI Cache for Ploi keeps your Ploi-hosted site fast and fresh. When you publish or update content, it calls the Ploi API to flush your site's Nginx FastCGI cache automatically, so visitors never see stale pages — and you never have to purge by hand. What it does How it works Connect the plugin to Ploi with a Ploi API token, pick the server and site to target, and choose which events should trigger a flush. From then on it runs in the background. This plugin requires a third-party service (the Ploi API) to function — see the External services section below.

安装:

  1. Upload the plugin to /wp-content/plugins/fastcgi-cache-for-ploi/, or install it from the Plugins → Add New screen in your WordPress admin.
  2. Activate the plugin through the Plugins menu.
  3. Go to Settings → FastCGI Cache.
  4. Paste a Ploi API token (create one at https://ploi.io/profile/api-keys) and click Connect. A valid token is saved (encrypted) automatically.
  5. Choose the server and site whose FastCGI cache should be flushed.
  6. Pick which events should trigger an automatic flush, then click Save settings.
Optional, recommended: define a dedicated encryption key in wp-config.php so the stored token is encrypted with a key independent of your database: define( 'FASTCGI_CACHE_FOR_PLOI_KEY', 'a-long-random-string' );

升级注意事项:

1.0.0 Initial release.

常见问题:

Do I need a Ploi account?

Yes. This plugin flushes the FastCGI cache of a site managed by Ploi (https://ploi.io), so you need a Ploi account, a Ploi-managed server/site with FastCGI caching enabled, and a Ploi API token.

Where do I get a Ploi API token?

In your Ploi account under Profile → API keys (https://ploi.io/profile/api-keys). Create a key, give it a recognizable name (for example "FastCGI Cache — yourdomain.com"), and paste it into the plugin's Connection card.

A flush fails with an error about caching not being enabled. What's wrong?

Ploi can only flush FastCGI cache for a site that has it enabled. Enable FastCGI caching for the site in Ploi, then try again.

Is my API token stored securely?

Yes. The token is encrypted at rest and is never displayed again after it is saved. For the strongest protection, define FASTCGI_CACHE_FOR_PLOI_KEY in wp-config.php (see Installation) so the encryption key is independent of your database.

Can I flush the cache manually?

Yes — use the Flush now button on the settings screen.

Does it slow down my site?

No. Flushes happen via a background request to the Ploi API after content changes; they do not block your visitors, and bursts of changes are coalesced into a single flush.

How do I stop the plugin from contacting Ploi?

Click Disconnect on the settings screen to remove the saved token, or deactivate/uninstall the plugin. With no token saved, the plugin makes no requests to Ploi.

更新日志:

1.0.1 1.0.0