Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
The Razor in my templates return outdated content. Changing the fields in my content does not invalidate the cache. My code looks as follows:
@section mainContent { <div class="box clearfix" id="page-nyheder" style="display:block;"> <a href="#" class="close"><img src="/Content/Images/close.png" alt="Luk" /></a> <h1>@Umbraco.Field("Name")</h1> <div class="content fullwidth scroll-pane"> <div class="content-container startpage" id="content-nyheder" style="display:block;"> @if (DynamicModel.Children.Any()) { foreach (var nyhed in DynamicModel.Children) { <div class="newspost"> <h2>@nyhed.Name</h2> @nyhed.indhold <span class="date">D. 13. april 2012</span> </div> } } </div> </div> </div> }
It was something in my ISS. As usual I can niether edit or delete my own post.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Caching doesn't work properly in Umbraco 5
The Razor in my templates return outdated content. Changing the fields in my content does not invalidate the cache. My code looks as follows:
It was something in my ISS. As usual I can niether edit or delete my own post.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.