WordPress.org

Ready to get started?Download WordPress

Forums

Youtube Channel Gallery
[resolved] Not showing the latest playlist changes on YouTube (8 posts)

  1. treeplant
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/youtube-channel-gallery/

  2. PoseLab
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. b-summers
    Member
    Posted 1 year ago #

    In the meantime, is there something we can do to manually refresh the plugin/videos?

  4. DarenG
    Member
    Posted 1 year ago #

    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.

  5. pedjas
    Member
    Posted 1 year ago #

    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.

  6. DarenG
    Member
    Posted 1 year ago #

    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?

  7. pedjas
    Member
    Posted 1 year ago #

    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.

  8. narelly
    Member
    Posted 8 months ago #

    Still no sollution to this problem besides that?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic