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?
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".
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
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".
Hi, I didn't know that.
I'll look for clues. Thanks
is working on a reply...
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.