Share via


OutputCacheOptions.MaximumBodySize Property

Definition

The largest cacheable size for the response body in bytes. The default is set to 64 MB. If the response body exceeds this limit, it will not be cached by the Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware.

public long MaximumBodySize { get; set; }
member this.MaximumBodySize : int64 with get, set
Public Property MaximumBodySize As Long

Property Value

Applies to