Copied to clipboard

Flag this post as spam?

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


  • John 88 posts 112 karma points
    Nov 16, 2011 @ 01:37
    John
    0

    Macro Caching Empty Output

    Hi. One of our sites experiences heavy load so I tried to implement caching on one of the macro's (which uses a razor CSHTML file). Cache by page for 3600 seconds. As soon as I set this, however, the macro output it empty. As soon as I change the macro back to a cache period of 0, the content displays again.

    Any thoughts?

    Umbraco 4.7

    IIS 6

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 16, 2011 @ 08:28
    Jan Skovgaard
    0

    Hi John

    What does the mentioned macro do? Maybe you need to cache the macro by using a querystring? You can read more about that here: http://blog.mattbrailsford.com/2011/02/01/caching-an-umbraco-macro-by-querystring-parameter/

    /Jan

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Nov 16, 2011 @ 10:00
    Dirk De Grave
    1

    Seems there some weird caching bug if your website is under heavy load. Bugfix has been implemented in v4.7.1(.1).

     

    Cheers,

    /Dirk

  • John 88 posts 112 karma points
    Nov 16, 2011 @ 22:18
    John
    0

    Ah, thank you Dirk.

    Just to confirm, that'll be in the latest release yes? http://umbraco.codeplex.com/releases/view/73692 And which DLL?

    Edit: Sorry, I accidently marked this post the solution as opposed to Dirk's.

Please Sign in or register to post replies

Write your reply to:

Draft