The MU forums have moved to WordPress.org

MagpieRSS caching by default? (6 posts)

  1. bschwarting
    Member
    Posted 13 years ago #

    is caching turned on in the WPMU version of MagpieRSS by default? if so, how often does it get an updated version?

  2. tdjcbe
    Member
    Posted 13 years ago #

    Looks like it is:

    http://trac.mu.wordpress.org/browser/trunk/wp-includes/rss.php#L624

    define('MAGPIE_CACHE_ON', 1);
    define('MAGPIE_CACHE_AGE', 60*60); // one hour

    From looking at the code in the area, it looks like you can define this elsewhere (maybe in sunrise.php?) if you;re trying to override this.

  3. bschwarting
    Member
    Posted 13 years ago #

    one hour should work fine. thanks for the response!

  4. tdjcbe
    Member
    Posted 13 years ago #

    Not a problem.

    You may want to check the rss widgets and see if any other time check is being done.

    edit: A quick google search doesn't pull up any mention of the time delay that I can find. That;s kind of weird.

  5. Ovidiu
    Member
    Posted 13 years ago #

    does this mean the dashboard feeds get cached for 1 hour?
    are the settings also being cached? just wondering as I have changed the number of items to display and it still shows the old number...
    sorry if this is off topic :-(

  6. tdjcbe
    Member
    Posted 13 years ago #

    I'm not in a position to check but I do remember that those feeds on the dashboard use the fetch_rss function which is the one used within magpie so I'm going to say yes but that that answer with a grain of salt.

About this Topic

  • Started 13 years ago by bschwarting
  • Latest reply from tdjcbe