Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit 4e10d19

Browse files
committed
Update default Max Body Size
1 parent aa52e66 commit 4e10d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ namespace Microsoft.AspNetCore.Builder
99
public class ResponseCacheOptions
1010
{
1111
/// <summary>
12-
/// The largest cacheable size for the response body in bytes. The default is set to 1 MB.
12+
/// The largest cacheable size for the response body in bytes. The default is set to 64 MB.
1313
/// </summary>
14-
public long MaximumBodySize { get; set; } = 1024 * 1024;
14+
public long MaximumBodySize { get; set; } = 64 * 1024 * 1024;
1515

1616
/// <summary>
1717
/// <c>true</c> if request paths are case-sensitive; otherwise <c>false</c>. The default is to treat paths as case-insensitive.

0 commit comments

Comments
 (0)