public HttpCacheFilter(ICacheabilityValidator validator, ICacheDirectiveProvider cacheDirectiveProvider) { _validator = validator; CacheDirectiveProvider = cacheDirectiveProvider; ApplyNoCacheNoStoreForNonCacheableResponse = true; }
public CachingPipeline(ICacheabilityValidator validator, ICacheDirectiveProvider cacheDirectiveProvider, HttpCachingOptions options) { _validator = validator; _cacheDirectiveProvider = cacheDirectiveProvider; _doNotEmitHeader = options.DoNotEmitCacheCowHeader; }
public HttpCacheFilter(ICacheabilityValidator validator, ICacheDirectiveProvider cacheDirectiveProvider, IOptions <HttpCachingOptions> options) { _validator = validator; CacheDirectiveProvider = cacheDirectiveProvider; ApplyNoCacheNoStoreForNonCacheableResponse = true; _options = options.Value; }
public CachingPipeline(ICacheabilityValidator validator, ICacheDirectiveProvider cacheDirectiveProvider) { _validator = validator; _cacheDirectiveProvider = cacheDirectiveProvider; }