Show / Hide Table of Contents

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
UseResponseCache(IArcGISHttpConfiguration, System.Boolean)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.0 - 200.8
.NET200.0 - 200.8
.NET Windows200.0 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework200.0 - 200.8
UWP200.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.