-
Notifications
You must be signed in to change notification settings - Fork 25
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
Disk cache doesn't work on iOS and Android #103
Comments
So we are actually using ktor's Can you verify there is actually no data in your application's cache directory? I just tested on android & desktop and cached data is being retrieved from the disk cache. Loading cached images in airplane mode in the sample is working as expected on android. I did find a bug where desktop doesn't work offline, but when online it is still loading images from the disk cache. |
I tested your logging setup. It does indeed log requests even if loading from the disk cache in airplane mode. If you don't like this behavior report it to ktor. |
I tested ios offline, and it also errors before it tries to load from the diskcache. I'll have to look into that as well. It should be working fine while connected to the internet as well though |
If loading data while offline is what you're having an issue with follow #104 |
Hello, I have next Kamel config
Here I have httpCache with DefaultHttpCacheSize. When I launch app my images download, but when I restart app my images download again.
The text was updated successfully, but these errors were encountered: