// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel; using Microsoft.AspNetCore.ResponseCaching.Internal; namespace Microsoft.AspNetCore.Builder { public class ResponseCachingOptions { /// /// The largest cacheable size for the response body in bytes. The default is set to 1 MB. /// public long MaximumCachedBodySize { get; set; } = 1024 * 1024; /// /// true if request paths are case-sensitive; otherwise false. The default is to treat paths as case-insensitive. /// public bool CaseSensitivePaths { get; set; } = false; /// /// The smallest size in bytes for which the headers and body of the response will be stored separately. The default is set to 70 KB. /// public long MinimumSplitBodySize { get; set; } = 70 * 1024; /// /// For testing purposes only. /// [EditorBrowsable(EditorBrowsableState.Never)] internal ISystemClock SystemClock { get; set; } = new SystemClock(); } }