BeyondWords (formerly SpeechKit)
Forum Replies Created
-
Forum: Plugins
In reply to: [BeyondWords - Text-to-Speech] High Database UsageHello @mrjeffpaul,
that is strange.
Do you have such a behaviour only during plugin upgrade/activation?
Or that is something that happens all the time at every page load?Do you use any caching plugins?
Could you please submit a support request from the plugins page ( /wp-admin/options-general.php?page=speechkit )?
This will provide us some technical details, that could help identify this issue faster.Forum: Plugins
In reply to: [BeyondWords - Text-to-Speech] First phrase is repeating itself twiceHello justatest47,
could you please give a link to the post with duplicate phrase?
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin author trying to purge cache for specific postAwesome,
Thanks for the heads up. I’ve now added:
if (function_exists('litespeed_purge_single_post')) { litespeed_purge_single_post($post_id); } else if (class_exists('LiteSpeed_Cache')) { LiteSpeed_Cache::get_instance()->purge_single_post($post_id); }
Which I’m hoping will take care of versions below and above 1.2
- This reply was modified 7 years, 8 months ago by BeyondWords (formerly SpeechKit).
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin author trying to purge cache for specific postI just tried out:
if (class_exists('LiteSpeed_Cache')) { LiteSpeed_Cache::get_instance()->purge_single_post($post_id); }
And it worked!
What is confusing about this is that I couldn’t find a method named
get_instance
on theLiteSpeed_Cache
class.Thank you for all your help.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin author trying to purge cache for specific postI did indeed use it as a global function. It makes more sense that it’s name spaced under the LiteSpeed_Cache plugin. What seems to have worked with the w3tc plugin is doing something similar but calling a public function named
w3tc_flush_post
, so I assumed this would be similar.I will try the second recommendation you had as well and report back.
Thanks again
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin author trying to purge cache for specific postKevin,
Thanks for your swift reply. The plugin has 2 flows into purging the cache, one would be through WPs cron loop and the other is on an ajax call made manually from a user by pressing a button in the admin panel.
By calling the
add_purge_tag
will it be “queued” for the next request? Having some trouble understanding how this is suppose to work with the cron job.I will try what you recommended to see if it helps and report back here.