Plugin author trying to purge cache for specific post
-
I’m the author of the speechkit plugin. The plugin calls a third party (https://speechkit.io) to generate audio and then sets up a cron job to wait for it to finish, polling every minute to see the status. Once the audio is ready, the plugin renders a player in the post. However with the litespeed cache plugin, it’s not showing up. I’ve tried to purge the cache of a specific post (unsuccessfully) with the following code:
if (function_exists('purge_single_post')) { purge_single_post($post_id); }
From the method documentation for
purge_single_post
in litespeed-cache it reads: “If a third party plugin needs to purge a single post, it can send a purge tag using this function.”What am I missing?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Plugin author trying to purge cache for specific post’ is closed to new replies.