-
-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
It seems like the .info() request that calls /object/info is cached and not busted after an upsert on the same path.
I came across this when migrating the existence check in supabase cache helpers to use .exists() + .info() instead of .list() for performance reasons (pr with the fix psteinroe/supabase-cache-helpers#626)
If this is wanted, I would love some documentation on it.
Reproduce
- Upload file x
- call
/info-> returns metadata for file x - Upsert file x with file y
- call
/info-> returns metadata for file x - call
/info?bust=true-> returns metadata for file y
Expected behavior
Should return metadata for file y after the upsert.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working