// 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 ResponseCacheOptions
{
///
/// The largest cacheable size for the response body in bytes. The default is set to 1 MB.
///
public long MaximumBodySize { get; set; } = 1024 * 1024;
///
/// true if request paths are case-sensitive; otherwise false. The default is to treat paths as case-insensitive.
///
public bool UseCaseSensitivePaths { get; set; } = false;
///
/// For testing purposes only.
///
[EditorBrowsable(EditorBrowsableState.Never)]
internal ISystemClock SystemClock { get; set; } = new SystemClock();
}
}