Title: FastCGI Cache for Ploi
Author: Filipe Seabra
Published: <strong>July 8, 2026</strong>
Last modified: July 8, 2026

---

Search plugins

![](https://ps.w.org/fastcgi-cache-for-ploi/assets/banner-772x250.png?rev=3599671)

![](https://ps.w.org/fastcgi-cache-for-ploi/assets/icon.svg?rev=3599671)

# FastCGI Cache for Ploi

 By [Filipe Seabra](https://profiles.wordpress.org/filiprimo/)

[Download](https://downloads.wordpress.org/plugin/fastcgi-cache-for-ploi.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/fastcgi-cache-for-ploi/#description)
 * [Reviews](https://wordpress.org/plugins/fastcgi-cache-for-ploi/#reviews)
 *  [Installation](https://wordpress.org/plugins/fastcgi-cache-for-ploi/#installation)
 * [Development](https://wordpress.org/plugins/fastcgi-cache-for-ploi/#developers)

 [Support](https://wordpress.org/support/plugin/fastcgi-cache-for-ploi/)

## Description

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**

 * Flushes the FastCGI cache automatically on the events you choose: post publish/
   update, post deletion, comments, theme switch, Customizer saves, and navigation-
   menu changes.
 * Coalesces bursts of changes into a single flush so a bulk edit doesn’t hammer
   the API.
 * One-click **Flush now** button for manual purges.
 * A **Recent flushes** log so you can see what triggered each flush and whether
   it succeeded.
 * Stores your Ploi API token encrypted at rest.

**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.

### External services

This plugin connects to the **Ploi API** (https://ploi.io), a third-party service,
to flush your site’s Nginx FastCGI cache. This connection is required for the plugin
to do its job.

**When data is sent to Ploi**

 * When you click **Connect** — to validate your token and list your servers.
 * When you select a server — to list that server’s sites.
 * When a flush runs — either automatically (on a content change you enabled) or
   manually (the **Flush now** button).

**What data is sent to Ploi**

 * Your **Ploi API token** — sent as an authorization header on every request.
 * The **server ID** and **site ID** you selected — sent in the request URL when
   listing sites and when flushing.
 * The **flush request** itself — an instruction to purge the selected site’s FastCGI
   cache.

No post content, personal data, or visitor information is sent to Ploi. Requests
are made to `https://ploi.io/api/...`.

Your use of the Ploi service is governed by Ploi’s legal terms:

 * Terms of Service: https://ploi.io/terms-of-service
 * Privacy Policy: https://ploi.io/privacy-policy

### Source code & build

The compiled admin assets in `public/build/` are minified. The complete, human-readable
source (front-end included) and the build steps live in the plugin’s public repository:
https://github.com/filipecsweb/wp-plugin-fastcgi-cache-for-ploi

### Disclaimer

Ploi is a trademark of its respective owner. This plugin is not affiliated with 
or endorsed by Ploi.

## Installation

 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' );
    ```

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“FastCGI Cache for Ploi” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Filipe Seabra ](https://profiles.wordpress.org/filiprimo/)

[Translate “FastCGI Cache for Ploi” into your language.](https://translate.wordpress.org/projects/wp-plugins/fastcgi-cache-for-ploi)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/fastcgi-cache-for-ploi/),
check out the [SVN repository](https://plugins.svn.wordpress.org/fastcgi-cache-for-ploi/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/fastcgi-cache-for-ploi/)
by [RSS](https://plugins.trac.wordpress.org/log/fastcgi-cache-for-ploi/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **17 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 8.2 or higher **
 * Tags
 * [cache](https://wordpress.org/plugins/tags/cache/)[nginx](https://wordpress.org/plugins/tags/nginx/)
   [performance](https://wordpress.org/plugins/tags/performance/)[Purge](https://wordpress.org/plugins/tags/purge/)
 *  [Advanced View](https://wordpress.org/plugins/fastcgi-cache-for-ploi/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/fastcgi-cache-for-ploi/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/fastcgi-cache-for-ploi/reviews/)

## Contributors

 *   [ Filipe Seabra ](https://profiles.wordpress.org/filiprimo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/fastcgi-cache-for-ploi/)