[wp-trac] [WordPress Trac] #11585: WordPress should cache failed feed fetches so as to avoid overloading feed sources
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 02:25:18 UTC 2009
#11585: WordPress should cache failed feed fetches so as to avoid overloading feed
sources
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Performance | Version: 2.9
Severity: normal | Keywords: needs-patch
-------------------------------+--------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11585>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list