You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to force a particular URL to be fetched from the web again and update the cache with the result, or to purge a URL from the cache?
My app includes pull down to refresh - when this is used I'd like to invalidate the cache, fetch data from the server, and update the cache with the new data.
The text was updated successfully, but these errors were encountered:
Hey, I added a way to check if cache is used: SmartCache.isResponseFromNetwork() that you can use in your callback. Cache can be cleared as well, you can check the new demo app I added.
To install the new version change the implementation line in Gradle, as mentioned in the README. The username/owner of the repo is changed as well.
Is there any way to force a particular URL to be fetched from the web again and update the cache with the result, or to purge a URL from the cache?
My app includes pull down to refresh - when this is used I'd like to invalidate the cache, fetch data from the server, and update the cache with the new data.
The text was updated successfully, but these errors were encountered: