Replies: 4 comments
-
|
Maybe it's a caching issue? I do the same thing all the time to update files, and I always get the current version. Did you try to invalidate all caches (server-side, CDN/edge, browser, etc)? |
Beta Was this translation helpful? Give feedback.
-
|
Are you using the preview endpoint or view? |
Beta Was this translation helpful? Give feedback.
-
|
Likely just browser caching since the URL stays the same. |
Beta Was this translation helpful? Give feedback.
-
|
If the file ID stays the same, the usual culprit is cache sitting in front of the bucket rather than the upload itself. I would check three things in this order:
If the raw view endpoint still returns the old bytes even with a fresh query param, then I would inspect whether the delete and recreate are happening in separate awaited calls and not racing each other. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using Appwrite's bucket to use as my image storage, and the file's id is related to my app user's id.
When deleting a file, and then inserting a file with the SAME id, the old file shows up instead of the new one.
Does anyone know why?
Beta Was this translation helpful? Give feedback.
All reactions