public static bool ShouldAddLastModifiedToOptimizedResults(this HttpCacheFeature feature) { return(feature?.CacheControlForOptimizedResults != null); }
public static bool ShouldAddLastModifiedToOptimizedCaches(this HttpCacheFeature feature) { return(feature != null && feature.AddLastModifiedToOptimizedCaches); }