Oct 20, 2010 at 5:21 AM
Edited Oct 20, 2010 at 5:22 AM
I need to be able to force cache refreshes for the case entity - very frustrating that the caching is not configurable!
var doc = window.top.document;
var iframe = doc.createElement('iframe');
However, I have had some success, by replacing
with a line from at cache invalidator script from the Portal Management Document to invalidate all cache entries
iframe.setAttribute('src', 'http://myportal.com/Cache.axd?InvalidateAll&d=' + (new Date()).valueOf());
It works! But I don't want to invalidate the entire cache everytime someone saves a case - anyone else struck this issue? Maybe there is a better approach, a possibly a scheduled job?