[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
Sat Feb 20 04:19:00 UTC 2010
#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
-------------------------------+--------------------------------------------
Comment(by mtdewvirus):
What about caching the feed items twice? Once with a long cache expiration
and once with the current expiration. If the current cache expires and the
feed isn't available, repopulate from the long expiration cache and set a
shorter expiration to check if the feed is back up. If the feed is
available, update both caches. This way, a visitor doesn't need to see an
error and will still see content.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11585#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list