Support » Plugin: Youtube Channel Gallery » Not showing the latest playlist changes on YouTube

  • Resolved treeplant


    The page is not showing the latest changes on YouTube that I made to the playlist, several hours ago. I checked the RSS and it is correct. It must be a cache issue with WordPress. I did some research in the forum, and there might be a fix by re-coding the php files. I’d rather no do that. Is there any other way to flush the cache. If I enter a different ID and then go back to my ID, that would probably work, but that’s not really a solution. Updating once and hour or so would be fine. Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author PoseLab


    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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not showing the latest playlist changes on YouTube’ is closed to new replies.