property CacheResponse: boolean; default False;

 

Description

Gets or sets whether the response to this request can be cached locally.

Caching is enabled only if all of the following conditions are met:

- The CacheResponse property is set to True.

- The Method property is set to rmGET.

- This TScRestRequest or its associated TScRestClient has the OnPutToCache and OnGetFromCache events assigned.

When these conditions are met, the OnPutToCache and OnGetFromCache events will be triggered, allowing the developer to store and retrieve cached data on the client side.

The default value is False.

 

See also

OnPutToCache

OnGetFromCache

 

SecureBridge Components, Copyright © 2007-2025 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support