-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
sidebar nav avatar is not updating #1247
Comments
@Blaimi Is this still an issue? The images are cached for about a day if I'm not mistaken. |
Hi :), yes. It's still the wrong avatar. I can't remember when i canged it, but it should be around two weeks ago. I did not clear any caches or relogin or something. Thank you :) |
@Blaimi Which version of the app are you using? |
0.9.9.81. I can't remember if it is installed via Play Store or via F-Droid |
But: If the image cache is implemented with a ttl: I had the old image for at least two years, maybe longer than I have this device 😉 |
It shouldn't be.. 😅 could you check what the Avatar is when you open the following url: You can find the user id in the web UI if you go to files -> Files Settings -> WebDav -> The last part of the URL is your user id. Maybe you can also get the response headers to see what the TTL is for you? e.g. |
Okay, I found the issue. It looks like that the library we use for ImageLoading doesn't handle caching very well. It only uses a URL as the cache key. Cache Headers such as Last-Modified or ETag are completely ignored. I'll try to find a solution to fix this issue.. |
I changed my avatar and now the news app still displays the old picture. The nextcloud app itself got the update.
The text was updated successfully, but these errors were encountered: