Skip to content

Commit 7d142d2

Browse files
authored
Readme update CachedRequest options with default values
Added default values to CachedRequest options for clarity.
1 parent 9a072e7 commit 7d142d2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ example
7474
### CachedRequest
7575
You can give optional settings to the CachedRequest object.
7676

77-
* OneCallPerSession - If true, the result will be returned from sessionstorage if it is not expired.
78-
* OneCallPerCache - If true, the result will be returned from localstorage if it is not expired.
79-
* IgnoreCache - If true, never return a cached result.
80-
* ExpireLocalStorage - The time to expire the result in localstorage. Default is 7 days.
81-
* ExpireSessionStorage - The time to expire the result in sessionstorage. Default is 15 minutes.
82-
* CachedAndReplace - If true, The cached result will be returned and the cache will be refreshed for the next call.
83-
* RetryOnJsonException - If true, If a JSON exception occurs, the cache will be cleared and the request will be retried.
77+
* OneCallPerSession - If true, the result will be returned from sessionstorage if it is not expired. Default: false
78+
* OneCallPerCache - If true, the result will be returned from localstorage if it is not expired. Default: false
79+
* IgnoreCache - If true, never return a cached result. Default: false
80+
* ExpireLocalStorage - The time to expire the result in localstorage. Default: 7 days.
81+
* ExpireSessionStorage - The time to expire the result in sessionstorage. Default: 15 minutes.
82+
* CachedAndReplace - If true, The cached result will be returned and the cache will be refreshed for the next call. Default: false
83+
* RetryOnJsonException - If true, If a JSON exception occurs, the cache will be cleared and the request will be retried. Default: true
8484

8585
### Global settings
8686

0 commit comments

Comments
 (0)