Renew WordPress Feed Cache in the Background
问题 I'm looking for a way to refresh feed caches in the background. To demonstrate the issue I'm facing with, the below code would help. It renews the cache in every 30 seconds when the page is accessed and loaded. Since it has lots of urls to fetch at once, it gets really slow when the cache needs to be rebuild. $urls = array( 'http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss', 'http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&topic=w&output=rss', 'http://news.google.com/news