WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
how to fix external RSS cache issues? (1 post)

  1. Jamil Jonna
    Member
    Posted 2 years ago #

    Hi,

    I'm having loads of trouble getting my external RSS feeds to update properly. I have a networked installation with domain mapping support.

    http://monthlyreview.org/

    I'm not certain that WP Super Cache is the problem but I do know that when I look in wp-content/cache/blogs, I see many, many files that just should not be there. Stuff that hasn't been in my public_html directory for quite a long time. I have had is_feed() disabled since the start. And I've recently added several exception strings to try to stop caching of my RSS widgets. The one in particular that does not work well is another domain-mapped site, http://climateandcapitalism.com. Both the RSS widget and feed, actually, do not update properly. I'm forced to switch the feed name between feedburner and the native RSS2 link to get the feed to update. Oddly, when I do so, it also fixes the feed in Feedblitz. As you can see here:

    http://beforeitsnews.com/stories/in/0000000000000017

    Whatever I did made the feeds for the last week appear all at the same time. I did also delete the "feed" folder in wp-content/cache/blogs but that didn't have an immediate effect. So,

    1. I'd like to flush the wp-cache if possible. How is this done?
    2. I'd like to ensure that my RSS feeds update right away.

    Thanks for any help you can offer.

    P.S. I do have a 'publish later on function' in functions.php—here is the code:

    function publish_later_on_feed($where) {
    		global $wpdb;
    
    		if ( is_feed() ) {
    
    		$now = gmdate('Y-m-d H:i:s');
    		$wait = '1'; // INTEGER
    		$device = 'HOUR'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
    		$where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
    
    			}
    
    			return $where;
    		}

    http://wordpress.org/extend/plugins/wp-super-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic