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.
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
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
Seems there some weird caching bug if your website is under heavy load. Bugfix has been implemented in v4.7.1(.1).
Cheers,
/Dirk
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.
is working on a reply...