Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Orchard.OutputCache shouldn't handle cache invalidation in the settings part handler #7958
At the moment the invalidation of items from orchard's output cache is handled by hooking into event's in the CacheSettingsPartHandler (https://github.com/OrchardCMS/Orchard/blob/master/src/Orchard.Web/Modules/Orchard.OutputCache/Handlers/CacheSettingsPartHandler.cs)
It would be better if these 3 events weere in a separate handler, this would make it easier to suppress these event's if doing custom stuff with cache invalidation without effecting the settingspart. Really these events have nothing to do with the settings.
Can provide a PR if considered a good idea.