public HttpCacheAttribute() { ApplyNoCacheNoStoreForNonCacheableResponse = true; CachingRuntime.OnHttpCacheCreated(new HttpCacheCreatedEventArgs(this)); var val = _configValueProvider.GetValue(ConfigurationKeys.DoNotEmitCacheCowHeader); bool.TryParse(val, out _doNotEmitHeader); }
public HttpCacheAttribute() { ApplyNoCacheNoStoreForNonCacheableResponse = true; CachingRuntime.OnHttpCacheCreated(new HttpCacheCreatedEventArgs(this)); }