davidjrh/dnn.rediscachingprovider

Shared.GetProviderConfigAttribute failed for RedisOutputCachingProvider

Closed this issue · 2 comments

Shared.GetProviderConfigAttribute gets the provider using the following code:
var provider = Config.GetProvider("caching", providerName);.
Here caching is name of the section in web.config where providerName is defined.
RedisOutputCachingProvider is defined in outputCaching section, and the method can not get the provider.
As a result RedisOutputCachingProvider always uses default values of useCompression, keyPrefix, silentMode.

Good catch, I will add the fix on the next release

Fixed on 1fe73e0