APIClientTIgnoreInMemoryCache Property
Indicates if the local response cache should be ignored and always
make the request to the Local File System and then to the Rest API.
The default value is true. Which means if an API Client wants to use local
cached values, it must be enabled (set to false) within the concrete API Client.
The option to ignore in memory cache can either be set at the API Client level, or on a per request level. Cached responses are only valid for HttpMethod GET calls.
To enable cache for a API call two things needs to happen. First the concrete
APIClient needs to enabled caching response by setting .IgnoreInMemoryCache to false.
Second, each response object must enable it by overridding GetCacheValueExpiryTime
to a value in the future.
Namespace: Scopos.BabelFish.APIClientsAssembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
public bool IgnoreInMemoryCache { get; set; }
Property Value
Boolean