Hi guys,
We have a multi-server setup using DFS which currently runs on DW 8. We're migrating it to DW 9. The 9.2 version that's available now doesn't have a good solution for clearing remote caches so Nicolai suggested to build my own for the time being. I created a simple module that executes a GET request against all connected servers and calls a custom ashx handler. Inside that handler, I am executing the following code:
context.Application.Clear();
Cache.Current.AllKeys.ToList().ForEach(x=> Cache.Current.Remove(x));
Dynamicweb.Extensibility.ServiceLocator.Current.GetPageService().ClearCache();
Is this a good idea? Looks like I need all three lines to get rid of lots of stuff like ecom data, pages, URLs and so on. Do you see any downsides? Are their other caches that I should clear?
Thanks!
Imar