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)
Umbraco Node.GetCurrent() with Nginx
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();
currentNode.GetProperty("AProperty");
The value of the AProperty returns a cached incorrect value.
Any idea?
Stumbled upon this link:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass
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...