-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage questions offline mode #2
Comments
Hi, fvisticotThanks for your questions. Example for maxAge and maxStale_dio.post(
"https://www.exmaple.com",
data: {'k': "keyword"},
options:buildCacheOptions(
Duration(days: 3),
maxStale: Duration(days: 7),
)
)
|
Scenario: Code: Is this right? |
@JCKodel Yes, that's right. |
Hi @hurshi how if the scenario is I want to save to the cache in the first call network only, after that the app always read from the cache when online & offline? |
Bump crypto package
Can you please detail in the documentation how is managed the case when no network is available ? Is there an error or the data is returned by the cache ?
The text was updated successfully, but these errors were encountered: