Not all RSS feeds are Equal
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])
- The topic ‘Not all RSS feeds are Equal’ is closed to new replies.