ResponseCachingOptions.MaximumBodySize Property


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 ResponseCachingMiddleware.

 property long MaximumBodySize { long get(); void set(long value); };
public long MaximumBodySize { get; set; }
member this.MaximumBodySize : int64 with get, set
Public Property MaximumBodySize As Long

Property Value

Applies to