You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We are using MvcSiteMapProvider in MVC5 project. We have static sitemap, mix with Dynamic Nodes that implements IDynamicNodeProvider.
What is the best practice to use caching in this scenario? We noticed that when we turn the cache on the DynamicNodeProviders are not getting called at all. when we turn the cache off by setting MvcSiteMapProvider_CacheDuration=0 we can see performance impact asthe MVC provider keep scanning the dlls for assemblies when creating site maps.
We would like to have the static site map to be cached but the dynamic nodes to be always resolved.
Thanks,
Noam
The text was updated successfully, but these errors were encountered:
Hi,
We are using MvcSiteMapProvider in MVC5 project. We have static sitemap, mix with Dynamic Nodes that implements IDynamicNodeProvider.
What is the best practice to use caching in this scenario? We noticed that when we turn the cache on the DynamicNodeProviders are not getting called at all. when we turn the cache off by setting MvcSiteMapProvider_CacheDuration=0 we can see performance impact asthe MVC provider keep scanning the dlls for assemblies when creating site maps.
We would like to have the static site map to be cached but the dynamic nodes to be always resolved.
Thanks,
Noam
The text was updated successfully, but these errors were encountered: