Share via

ResponseCachingOptions.SizeLimit Property


The size limit for the response cache middleware in bytes. The default is set to 100 MB. When this limit is exceeded, no new responses will be cached until older entries are evicted.

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

Property Value

Applies to