Title: RSS widget cache
Last modified: August 19, 2016

---

# RSS widget cache

 *  Resolved [zeaks](https://wordpress.org/support/users/zeaks/)
 * (@zeaks)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/rss-widget-cache/)
 * Is there a way to remove or decrease the cache time for the rss widget? I’m using
   it as a latest forum posts widget, but I’ve read the update for the widget to
   display new posts is once every hour.
 * Found a post just after I posted this.
 * `add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a', 'return
   1800;' ) );`
 * Adding this to functions seemed to work, adjusting 1800 to whatever you need.

The topic ‘RSS widget cache’ is closed to new replies.

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zeaks](https://wordpress.org/support/users/zeaks/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/rss-widget-cache/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
