Created
March 20, 2016 22:24
-
-
Save casper-rasmussen/255afd9c4d735ea90524 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ContentDonutOutputCacheAttribute : DonutOutputCacheAttribute | |
{ | |
public ContentDonutOutputCacheAttribute() | |
: base(new KeyGenerator(new EPiServerAwareKeyBuilder()), new OutputCacheManager(OutputCache.Instance, new EPiServerAwareKeyBuilder()), (IDonutHoleFiller)new DonutHoleFiller((IActionSettingsSerialiser)new EncryptingActionSettingsSerialiser((IActionSettingsSerialiser)new ActionSettingsSerialiser(), (IEncryptor)new Encryptor())), (ICacheSettingsManager)new CacheSettingsManager(), (ICacheHeadersHelper)new CacheHeadersHelper()) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment