Does anyone know where this is stored? Is there an easy way to delete the macro cache and have it rebuilt? On occasion we want to clear all macro caches, is this possible?
We use web deploy for one of our clients and the macro cache does not update on deploy. This means when we promote changes, the client does not see them automatically. It would be handy if we could delete the macro cache sometimes on deploy.
Normally when your app restarts after a deployment the macro cache should be empty. But maybe you don't include any dll's or the web.config in your deploy ?
The App_Data/cache directory contains the image processor cached files. The macro cache is stored in memory. This cache is cleared when a user changes some content or when the application pool is recycled.
Macro Cache
Hello,
Does anyone know where this is stored? Is there an easy way to delete the macro cache and have it rebuilt? On occasion we want to clear all macro caches, is this possible?
Thanks
Scott
No one knows?
One more bump :)
Normally your macro cache expires when the cache period you have specified has expired.
Also any editor action will clear the macro cache.
Dave
Thanks Dave. do you know where the cache is stored on the server?
Hi,
Here 2 other posts about clearing macro cache : https://our.umbraco.org/forum/core/general/71271-trying-to-clear-macro-cache https://our.umbraco.org/forum/developers/api-questions/17461-Clear-macro-cache-from-api
But maybe you can explain what you are trying to do ? There can be a better solution than clearing macro cache
dave
Hi Dave,
We use web deploy for one of our clients and the macro cache does not update on deploy. This means when we promote changes, the client does not see them automatically. It would be handy if we could delete the macro cache sometimes on deploy.
Best,
Scott
Hi
Normally when your app restarts after a deployment the macro cache should be empty. But maybe you don't include any dll's or the web.config in your deploy ?
dave
Hi Dave,
Yes this is correct. Sometimes we do not want the app pool to recycle.
Scott
App_Data/CACHE?
Hi Jakub,
The App_Data/cache directory contains the image processor cached files. The macro cache is stored in memory. This cache is cleared when a user changes some content or when the application pool is recycled.
Dave
is working on a reply...