[wp-hackers] Feed caching

Stephanie Leary steph at sillybean.net
Wed Nov 11 02:49:57 UTC 2009


On Nov 10, 2009, at 4:33 PM, scribu wrote:
> Does anybody have some clue on how and where feeds are cached and how
> one might invalidate them, for debugging purposes?

Changing the lifetime usually works for me. I dump this into  
functions.php:

// refresh RSS widgets every 2 minutes instead of 24 hours
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a',  
'return 120;') );


Stephanie Leary


More information about the wp-hackers mailing list