There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Refactor OutputCache storage to make use of Orchard.Caching
...so when implementing a new provider for caching (e.g. a distributed one) we only have to deal with one service by default.
I'd make Orchard.OutputCache CacheService use Orchard.Caching ICacheService for storage instead of having a different set of services for IOutputCacheStorageProvider implementations. Or, to keep maximimal flexibility, the default IOutputCacheStorageProvider
could use Orchard.Caching ICacheService instead of accessing the http cache directly.
Also tag service could use ICacheService to store that dictionary.
This way just by adding a new Orchard.Caching service you can make OutputCache use that too, by default. By keeping the IOutputCacheStorageProvider interface we could still have the flexibility to store output cache and runtime cache items separately.