Plugin Author
PoseLab
(@javitxu123)
Hi treeplant
Many people have asked me to change the cache time of WordPress. I think I’ll have to offer it in a future plugin update.
In the meantime, is there something we can do to manually refresh the plugin/videos?
This is a big problem for me as well. If you run a site with any kind of media presence, the expectation is immediate updates. Please update this widget. I would also be interested to in finding out if there is anything I can do. I have notices several cache plugins but I am not sure any of those will give me what I am looking for.
I have the same problem. It would help if you at least tell us how to clear cache manually.
I fount it.
It is in feed.php in WordPress Core.
line looks like
$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
Cache is set for 12 hours. Zust change to 0 and it will not cache.
Iy seems there is and filter for this so it should be possible to set cache time limit from plugin.
Great find pedjas. Should I be concerned with it causing any other kind of performance hit if I change the 12 in that line to zero? If I have w3 cash plugin, do you know if I have to worry about anything there overriding this?
It depends on how hard visit your site suffers and how large playlist is.
I do not recommend leaving it at zero, as it actually disables caching. Change to zero, reload page to load updated playlist and then revert back to 12.
If you like you may just shorten caching period. 12 hours is quite long time. I do not see the point. I shortened it to three hours on my site.
Still no sollution to this problem besides that?