WordPress.org

Ready to get started?Download WordPress

Forums

Not all RSS feeds are Equal (1 post)

  1. Dave Navarro, Jr.
    Member
    Posted 1 year ago #

    It would be great if fetch_feed() supported individual settings for the transient timeout rather than forcing us to use a global value via a wp_feed_cache_transient_lifetime filter.

    One of my client sites pulls news from a couple of sources and we need the ability to do that every 15-minutes. While there are a few other news sources that only update every 3-hours. And some internal feeds that we'd like to update every 5 minutes.

    I can set the global timeout to 5 minutes, but that's a waste of resources on the other feeds.

    I'd love to see an optional timeout value added to fetch_feed:

    fetch_feed($url [, $timeoutInSeconds])

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Dave Navarro, Jr.
  • This topic is not resolved
  • WordPress version: 3.5.1