Where does WordPress default SimplePie save cache data?

In WordPress, the WP_Feed_Cache class uses the WP_Feed_Cache_Transient class to store the results into a transient. So, short answer, either in the database or in the Object Cache if you have a persistent object cache stored. If you need to cache something for a period of time, use a transient. http://codex.wordpress.org/Transients_API

How to Update SimplePie

SimplePie for a long time is not truly an independent project as it was fully assimilated into wordpress. Not sure that there is any new development for it, but if there is it is unlikely to be any different than what it is at the latest wordpress core.

How to set the cache for the built-in SimplePie feed parser?

Cache duration value (defaults to 43200 seconds) is set when feed object is generated and passed through wp_feed_cache_transient_lifetime filter with additional argument being feed URL. This allows to conveniently filter it both globally and for specific feeds. See fetch_feed() source for this and other hooks you can use to modify its behavior.

How do I fetch feed info from cache instead of directly from feed?

You could simply use fetch_feed() that implements it’s own extension of SimplePie_Cache: $feed = new SimplePie(); … $feed->set_cache_class( ‘WP_Feed_Cache’ ); … $feed->set_feed_url( $url ); … $feed->set_cache_duration( apply_filters( ‘wp_feed_cache_transient_lifetime’, 12 * HOUR_IN_SECONDS, $url ) ); that caches the feeds with set_transient().

How to get more than 25 items via Simplepie RSS Feeds?

include_once(ABSPATH.WPINC.’/feed.php’); $rss = fetch_feed(‘http://gdata.youtube.com/feeds/base/users/silviavaldemoros/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile&max-results=50’); $maxitems = $rss->get_item_quantity(50); $rss_items = $rss->get_items(0, $maxitems); print_r($rss_items); Try this code..

fetch_feed: retrieve entries in the appearing order, not chronologically

Ok, found. I spent hours on this but I managed to find the solution. The command I was looking for was $rss->enable_order_by_date(false);. So you should set (for benefit of the community): <?php /* include the required file */ include_once(ABSPATH . WPINC . ‘/feed.php’); /* specify the source feed */ $rss = fetch_feed(‘FEED_URL’); /* disable order … Read more