← Blog · 28 November 2026 · Lire en français

Audio generated but missing from the page: WordPress page caches and how the plugin handles them

The audio is ready, the admin screen says it is up to date, and the public page still shows no player. Most of the time a cache plugin is serving the old copy. What the WeDispatch plugin purges on its own, read from its code, what it cannot purge, and how to check in one click.

There is one support request we see more than any other from WordPress sites that have just added audio: "I generated the audio and it does not show on the page." In almost every case nothing is broken. The audio exists, the player is in the content, and a page cache is still handing visitors the HTML it stored before the audio was there.

This article explains why that happens at that exact moment, what the WeDispatch plugin does about it automatically, and the cases where it cannot help and you need to act.

Why caches miss this particular moment

A page cache plugin (WP Rocket, LiteSpeed Cache, W3 Total Cache and the like) stores the HTML generated for one visitor and serves it to everyone after that. It clears a post's page when you publish or update the post, which is what you want.

Audio does not follow that timing. It is produced after you hit Publish: when the service finishes the file, or later still when a batch of archive posts goes through the queue. At that point WordPress sees no change to the post, so nothing tells the cache to let go of the old page. Depending on the lifetime set in your cache plugin, visitors can get the player-less copy for hours.

What the plugin purges by itself

The WordPress plugin deals with this. Every time a post receives its audio, or receives a new version after an edit, the plugin fires an internal hook and asks whichever cache plugin is present to clear that post's page and nothing else. Read from the plugin's inc/cache.php, the supported list is:

  • WP Rocket, per-post purge;
  • LiteSpeed Cache, per-post purge, falling back to its documented action on older versions;
  • W3 Total Cache, per-post flush;
  • WP Super Cache, purge of the page's cache directory;
  • Cache Enabler, page purge by post;
  • Cloudflare, through its official plugin, purge of the article's single URL.

Cloudflare matters more than it looks. When a CDN serves the whole HTML page, clearing every local cache achieves nothing while the edge still holds the old copy.

The plugin also always clears WordPress's object cache entry for the post (Redis, Memcached), because the "this post has audio" metadata is what decides whether the player is rendered.

Two design choices are worth knowing. Detection happens at purge time, not at install: the plugin depends on none of these tools, never loads them, and does not fail if one is missing or renamed. And it never flushes the whole site cache. Voicing fifty archive posts in one batch means fifty targeted purges, not fifty full rebuilds, which on a busy news site would slow everything down to fix one display issue.

What it cannot purge

Outside those six, the plugin does not know your cache. That includes:

  • host-level page caching configured in your hosting dashboard;
  • Varnish or a CDN set up by hand with no WordPress plugin controlling it;
  • in-house caching layers, which larger publishers often run.

For in-house layers, the internal hook is public, so a developer can subscribe to it without us needing to know their stack:

``php
add_action('wedispatch_audio_pose', function ($post_id) {
// purge this post's page in your own cache here
my_cache_purge_url(get_permalink($post_id));
});
``

For host caches and hand-configured CDNs, you are left with a manual purge or a shorter cache lifetime.

Finding out which situation you are in

The plugin's Help & checks screen has a row called "Page cache emptied after each audio". It either names your cache plugin, in which case there is nothing for you to do, or says "no known cache plugin detected", which tells you a manual step may be needed or a host cache is involved.

For a single post, the Check the display link in the "My content & audio" screen goes further. It fetches the public page twice:

1. once bypassing caches, to confirm WordPress actually inserts the player;
2. once as a normal visitor would, caches included.

If the first fetch finds the player and the second does not, the verdict says so plainly: the player is on the page, but visitors may still get an older copy. It then tells you to clear that page in your cache plugin, at your host or in your CDN. The second fetch was added after an earlier version showed green on the first fetch alone while real visitors were still getting a page with no player. And if the site cannot fetch itself at all (some hosts block loopback requests), the check says it could not look, rather than blaming the player, and suggests opening the page in a private window.

Subscriber-only audio and shared cached pages

There is a less visible cache issue on sites where some audio is reserved for subscribers. A cached page is identical for everyone, so if a subscriber's listening token were written into the HTML, anonymous visitors would be served it too. The plugin never puts it there. The player requests it separately through a WordPress REST route that answers "no token" for anonymous visitors and sends headers forbidding any caching of the response. The full mechanism is covered in the article on subscriber-only audio.

The short checklist

When the player does not appear after generation: open the article in a private window, run "Check the display", then look at the cache row in Help & checks. If none of that explains it, the broader what to check when text to speech is not working list picks up from there. If your concern is rather the player's weight on a carefully optimised page, the page load speed article lists what it loads and when.

Give your articles a voice with WeDispatch

This blog is itself voiced by WeDispatch. Curious how it sounds on your content?

Book a demo

Read next