Method UseResponseCacheSize
UseResponseCacheSize(IArcGISHttpConfiguration, Int64)
Sets the maximum size of the HTTP cache in bytes.
Declaration
public static IArcGISHttpConfiguration UseResponseCacheSize(this IArcGISHttpConfiguration configuration, long maxSize)
Parameters
Type | Name | Description |
---|---|---|
IArcGISHttpConfiguration | configuration | HTTP Configuration |
System.Int64 | maxSize | The maximum size in bytes. The default is 100mb. |
Returns
Type | Description |
---|---|
IArcGISHttpConfiguration | HTTP Configuration |
Remarks
This value only applies if the native HTTP Handler doesn't provide caching out of the box and instead is handled by the ArcGIS Maps SDK for .NET.
Note: Large file downloads exceeding more than 50% of this cache size will not be cached.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.0 - 200.6 |
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 200.0 - 200.6 |
UWP | 200.0 - 200.6 |