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
My umbraco web server is configured to work with Nginx. I have problem getting a value of a property using the code below:
var currentNode = Node.GetCurrent();
The value of the AProperty returns a cached incorrect value.
Stumbled upon this link:
Seems you can confibgure bypass of caching under certain conditions.
Edit: I'm playing a littlebit with nginx. Seems to me nginx for now is helping offloading the umbraco site for static content. The duo Umbraco/ASP.NET MVC handles caching really well for dynamic content. For your particular problem. If you use a load-balanced configuration, make sure the aspx or the cshtml's are not behind the nginx cache. And just let Umbraco handle it. (Of course use Macro's, Partial View Macro's, or the @Html.CachedPartial)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted