I've not played around with images much. I figured out what I needed, worked around any issues and moved on.
Today I am trying to understand a bit more how, at least conceptually, the images are dealt with in an app. I can understand why there are so many questions about using images in our apps!
I created an image that includes text but it doesn't look good so I want to replace it with an updated image. Using the same file name, I thought it would just update but it doesn't. So I decided to just remove the old version altogether.
However, after deleting the file, emptying Google trash, clearing Google cache, reloading the app, closing and re-opening the app...the image still appears if I set its name in the Google sheet.
I can replace the name in the sheet, refresh and the expected image shows. If I change the image name in the sheet back to the image that has been deleted, it will re-appear in the app.
NOTE: this is all being tested in the Editor emulator.
Obviously, the image file is being cached somewhere but where? How do we forcibly remove a deleted image so that it no longer appears anywhere in our apps?
Maybe it's the Server caching property--especially if what you're observing is in the near term after changing a file but then it serves the updated file after a period (~24 hours?)?
In case it's applicable, here are some techniques to experiment with:
I don't have server caching on in this app. The "store data for offline content" was on but I have since turned it off.
I have to wonder if there is some AppSheet specific image cache lurking about.
@WillowMobileSys wrote:
How do we forcibly remove a deleted image so that it no longer appears anywhere in our apps?
Not possible, but using cache-busting techniques you can bypass the cache.
User | Count |
---|---|
16 | |
10 | |
8 | |
5 | |
5 |