sometimes I need to refresh the contents of a cached macro before it expires. I don't see any refresh-method on the macro-control itself. How do I then remove the macro from the cache programmatically? Using umbdebugshowtrace=true, I can see the key for the macro, but is it possible to get the key programmatically somehow?
Refresh cached macro serverside
Hi,
sometimes I need to refresh the contents of a cached macro before it expires. I don't see any refresh-method on the macro-control itself. How do I then remove the macro from the cache programmatically? Using umbdebugshowtrace=true, I can see the key for the macro, but is it possible to get the key programmatically somehow?
thanks
Thomas
Hi - try this:
You can find the Id if you hover over the Macro in the Umbraco admin (shows bottom left/right in your browser).
is working on a reply...