diff --git a/docs/index.html b/docs/index.html index 9a19813..9b48b13 100644 --- a/docs/index.html +++ b/docs/index.html @@ -100,6 +100,7 @@
TimeSpan.FromHours(1)
false
TimeSpan.FromSeconds(5)
+ Every REST API client based on the CryptoExchange.Net base library automatically supports caching of GET HTTP requests. A few advantages of caching: +
+ To enable caching for GET requests set CachingEnabled
to true
in the client options. Optionally set the CachingMaxAge
option to the desired value (default is 5 seconds).
+
+ To determine whether a request has gotten the data from the server or from the local cache the DataSource
property on the call result can inspected:
+
var result = await bitfinexRestClient.SpotApi.Account.Get30DaySummaryAndFeesAsync();
+var responseSource = result.DataSource;
+
+