Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SFMap..::.CacheOnClient Property
SFMap Class See Also Send Feedback

Gets or sets whether to use client-side caching of any generated map image.

Namespace: EGIS.Web.Controls
Assembly: EGIS.Web.Controls (in EGIS.Web.Controls.dll)

# Syntax

Visual Basic (Declaration)
    <BindableAttribute(True)> _
    Public Property CacheOnClient As Boolean

C#
    [BindableAttribute(true)]
    public bool CacheOnClient { get; set; }

Visual C++
    [BindableAttribute(true)]
    public:
    property bool CacheOnClient {
    	bool get ();
    	void set (bool value);
    }

# Remarks

By default CacheOnClient will be set to true. This means that cache-specific HTTP headers will be set on generated map images. This will generally improve map performance as successive map images are cached by client web-browsers, however in some cases this is not desirable.

If you are using CustomRenderSettings then it may be neccessary to set CacheOnClient ot False

# See Also

SFMap Class
EGIS.Web.Controls Namespace