Copied to clipboard

Flag this post as spam?

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


  • SinkyPars 132 posts 175 karma points
    Dec 07, 2015 @ 14:44
    SinkyPars
    0

    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

  • SinkyPars 132 posts 175 karma points
    Dec 09, 2015 @ 16:29
    SinkyPars
    0

    No one knows?

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 13:25
    SinkyPars
    0

    One more bump :)

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 05, 2016 @ 13:42
    Dave Woestenborghs
    0

    Normally your macro cache expires when the cache period you have specified has expired.

    Also any editor action will clear the macro cache.

    Dave

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 13:49
    SinkyPars
    0

    Thanks Dave. do you know where the cache is stored on the server?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 05, 2016 @ 13:52
    Dave Woestenborghs
    0

    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

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 13:58
    SinkyPars
    0

    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

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 05, 2016 @ 14:08
    Dave Woestenborghs
    0

    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

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 14:13
    SinkyPars
    0

    Hi Dave,

    Yes this is correct. Sometimes we do not want the app pool to recycle.

    Scott

  • Jakub 10 posts 89 karma points
    Jan 05, 2016 @ 23:57
    Jakub
    0

    App_Data/CACHE?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 06, 2016 @ 07:12
    Dave Woestenborghs
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft