private void OnTaxonomiesUpdated(ICacheDependencyHandler caller, Type itemType, string itemKey) { // needs to run on a separate thread otherwise messes up the open access cache for som reason // no time to investigate and I see this method has already been called in the same fashion in earlier checkins Task.Run(() => { RegisterTaxonomyRoutes(); }); }
private static void ConfigUpdated(ICacheDependencyHandler caller, Type trackedItemType, string trackedItemKey) { ImageOptimizationTask.Schedule(); }