WordPress should cache failed feed fetches so as to avoid overloading feed sources
|Reported by:||Denis-de-Bernardy||Owned by:|
Following up on #11219, which fixed the cause of that particular error, but not the one that related to caching of feed errors.
When SimplePie fails to fetch or parse a feed, it should not hammer whichever server the feed came from on every page load. This is bad for two reasons: it disturbs the originating server, and it tremendously slows down page loads when the feed is in an RSS widget on the front end.
Instead, we should cache the error for a reasonably long amount of time (15 minutes? An hour? More?) and bypass SimplePie until that duration expires.