Title: ABCode Improved Caching for 20i StackCache
Author: Ash Brentnall | ABCode
Published: <strong>August 12, 2026</strong>
Last modified: August 12, 2026

---

Search plugins

![](https://ps.w.org/abcode-improved-caching-for-20i-stackcache/assets/banner-772x250.
png?rev=3643379)

![](https://ps.w.org/abcode-improved-caching-for-20i-stackcache/assets/icon-256x256.
png?rev=3643379)

# ABCode Improved Caching for 20i StackCache

 By [Ash Brentnall | ABCode](https://profiles.wordpress.org/ashbrentnall/)

[Download](https://downloads.wordpress.org/plugin/abcode-improved-caching-for-20i-stackcache.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/abcode-improved-caching-for-20i-stackcache/#description)
 * [Reviews](https://wordpress.org/plugins/abcode-improved-caching-for-20i-stackcache/#reviews)
 *  [Installation](https://wordpress.org/plugins/abcode-improved-caching-for-20i-stackcache/#installation)
 * [Development](https://wordpress.org/plugins/abcode-improved-caching-for-20i-stackcache/#developers)

 [Support](https://wordpress.org/support/plugin/abcode-improved-caching-for-20i-stackcache/)

## Description

This is an add-on for **20i StackCache**, the cache plugin on 20i’s Managed WordPress
and WordPress Optimised hosting. It fills a specific gap in how StackCache clears
its cache.

When you publish or edit a post, StackCache purges only that post’s own URL. Every
other page that _lists_ the post (your homepage, its category and tag archives, 
custom taxonomy archives, the post-type archive, the blog page and the main feed)
keeps serving the old, cached version until its cache naturally expires. So a new
or updated post can be missing, or shown with stale content, on exactly the pages
your visitors browse to find it.

This plugin closes that gap.

#### What it does

 * **Purges the whole listing hierarchy on edit.** On publish or update it clears
   the homepage, the post’s public taxonomy term archives, its post-type archive,
   its parent pages (for hierarchical content), the blog page on a static front 
   page, and the main feed: everything StackCache leaves behind.
 * **Rebuilds what it cleared, if you want.** If [ABCode Cache Warmer](https://wordpress.org/plugins/abcode-cache-warmer/)
   is also installed, the purged pages are handed straight to it and warmed back
   up immediately, so visitors never hit a cold page. Without the warmer, the purge
   alone still fixes the staleness, and the next visitor simply gets fresh content.
 * **Adds a “Purge This Page” control.** A nonce-protected item in the admin bar
   on front-end views lets you clear a single page without clearing the whole site,
   plus a tidy “Purge Everything” option.

#### Safe by design

 * It does nothing at all unless StackCache is active: on any other host it is a
   silent no-op, and it tells you in the admin if StackCache is missing.
 * It never purges anything off your own domain.
 * It respects StackCache’s own settings: if StackCache is set to full-purge on 
   every change, this plugin stands aside rather than issue purges nobody needs;
   and it never double-purges a URL StackCache already handles.
 * The purge runs in a short background task, never on your save request, so editing
   stays fast.

#### Who it is for

Anyone whose WordPress site is hosted on 20i (or a 20i reseller) with StackCache
enabled, and who wants edits to show up straight away across their whole site instead
of lingering behind the cache.

## Screenshots

[⌊The StackCache menu in the toolbar, with Purge This Page on front-end views and
Purge Everything anywhere. It replaces StackCache's own purge item so there is only
one control.⌉⌊The StackCache menu in the toolbar, with Purge This Page on front-
end views and Purge Everything anywhere. It replaces StackCache's own purge item
so there is only one control.⌉[

The StackCache menu in the toolbar, with Purge This Page on front-end views and 
Purge Everything anywhere. It replaces StackCache’s own purge item so there is only
one control.

[⌊The plugin tells you when StackCache is missing rather than sitting there doing
nothing.⌉⌊The plugin tells you when StackCache is missing rather than sitting there
doing nothing.⌉[

The plugin tells you when StackCache is missing rather than sitting there doing 
nothing.

## Installation

 1. Install and activate the plugin through **Plugins  Add New**, or upload the plugin
    folder to `/wp-content/plugins/`.
 2. That’s it. As long as 20i StackCache is active, the plugin starts closing the hierarchy-
    purge gap immediately, and there is nothing to configure.
 3. Optionally install [ABCode Cache Warmer](https://wordpress.org/plugins/abcode-cache-warmer/)
    so purged pages are rebuilt instantly rather than on the next visit.

## FAQ

### Do I need 20i StackCache for this to work?

Yes. This is an add-on for StackCache specifically. Without it, the plugin does 
nothing and shows a notice telling you so. StackCache ships with 20i’s Managed WordPress
and WordPress Optimised hosting.

### Do I need the cache warmer too?

No. The purge on its own fixes the staleness: the next visitor to each listing page
gets fresh content. The warmer is optional: with it, those pages are rebuilt right
away so nobody has to be the first to wait.

### What exactly gets purged when I edit a post?

The homepage, the post’s public taxonomy archives (categories, tags, custom taxonomies),
its post-type archive, any parent pages, the blog page if you use a static front
page, and the main feed. The post’s own URL is handled by StackCache; this plugin
only adds it when StackCache would not (an unsupported custom post type with StackCache’s
custom-post-type purging turned off), so nothing is purged twice.

### Will it purge pages on other sites, or anything off my domain?

No. Every URL is checked against your site’s own host first. Anything off-domain
is ignored.

### Does purging on every edit slow down saving a post?

No. The purge is deferred to a short background task a few seconds after you save,
so your editor request returns immediately. A burst of edits (such as a bulk action)
folds into a single purge pass.

### What is “Purge This Page”?

A control in the admin bar, on front-end views, that clears just the page you are
looking at. It is protected by a capability check and a nonce. There is also a “
Purge Everything” option for a full-site purge.

### What happens if I deactivate StackCache, or the cache warmer?

Nothing breaks either way. The plugin checks StackCache is present before it does
anything at all, so without it there are no purges, no scheduled tasks and no admin
bar changes, just a notice telling you it is idle. The cache warmer is checked the
same way: the plugin offers it the purged URLs, and if it is not installed that 
offer simply goes nowhere. Neither is bundled or modified; both stay entirely under
your control.

### Does it change how StackCache caches my site?

No. It does not touch StackCache’s caching engine, settings or rules. It only issues
additional purge requests through StackCache’s own purge method for the listing 
pages StackCache leaves out, so your content stays consistent.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ABCode Improved Caching for 20i StackCache” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Ash Brentnall | ABCode ](https://profiles.wordpress.org/ashbrentnall/)

[Translate “ABCode Improved Caching for 20i StackCache” into your language.](https://translate.wordpress.org/projects/wp-plugins/abcode-improved-caching-for-20i-stackcache)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial release.
 * Purges the full listing hierarchy on publish or update: homepage, taxonomy archives,
   post-type archive, parent pages, blog page and feed.
 * Optional handoff to ABCode Cache Warmer to rebuild purged pages immediately.
 * Nonce-protected “Purge This Page” and “Purge Everything” admin-bar controls.
 * Respects StackCache’s full-purge mode and never double-purges a URL StackCache
   already handles.
 * Silent no-op with an admin notice when StackCache is not active.

## Meta

 *  Version **1.0.0**
 *  Last updated **11 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.0.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [cache](https://wordpress.org/plugins/tags/cache/)[cache purge](https://wordpress.org/plugins/tags/cache-purge/)
   [performance](https://wordpress.org/plugins/tags/performance/)
 *  [Advanced View](https://wordpress.org/plugins/abcode-improved-caching-for-20i-stackcache/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/abcode-improved-caching-for-20i-stackcache/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/abcode-improved-caching-for-20i-stackcache/reviews/)

## Contributors

 *   [ Ash Brentnall | ABCode ](https://profiles.wordpress.org/ashbrentnall/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/abcode-improved-caching-for-20i-stackcache/)