Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Oct 25, 2011 @ 11:43
    Matt Taylor
    0

    Cached Macro - Not refreshing after cache period expires

    I have an XSLT macro that reads and XML file containing some event information and then displays the latest three events.

    I have set this macro to cache for 300 seconds but have noticed that even when a new event is added to the XML file, the output of the macro does not change, even days later.

    To get the macro to refresh I had to set the cache period to 0.

    All my other macros are caching OK it would seem.
    Could it be something to do with the fact that it's an XML file I'm querying?

    Thanks,

    Matt

     

  • Rodion Novoselov 694 posts 859 karma points
    Oct 25, 2011 @ 12:54
    Rodion Novoselov
    0

    Hi. Have you tried to inspect the page trace? Whenever macro rendering actually comes from the cache it's reflected in the trace by a message like "Macro loaded from cache bla-bla-bla".

  • Matt Taylor 873 posts 2086 karma points
    Oct 25, 2011 @ 12:58
    Matt Taylor
    0

    Hi, I didn't know that.

    I'll look for clues. Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies