in src/DeloitteDigital.Atlas/Caching/WebCacheService.cs [86:101]
public void ClearItemsWithPublishDependency(string siteName, string databaseName)
{
var prefix = string.Format("{0}.{1}.{2}", CachePrefix, siteName ?? "", databaseName ?? "");
foreach (DictionaryEntry entry in cache.GetAll(prefix))
{
var cacheItem = entry.Value as CacheItem;
if (cacheItem == null) continue;
if (cacheItem.InvalidateOnPublish)
{
cache.Remove(entry.Key.ToString());
}
}
}