Configure Storage download caching time
I'm not sure how that works but is there any way to configure/delete the caching time of the storage API?
I'm using Tanstack query to cache the data I get from Supabase and I would like to do the same for images that I get from the Storage API. That would be very convenient for me to be able to delete the caching that the storage API uses. I would want to rely only on Tanstack query for the caching of my data, since this allows me to control their display precisely (show a loader when I'm loading them, show another small loader in the top right of my app when I'm refetching them while still displaying the current image etc).
Currently that works perfectly for text data, but for images, Tanstack think that I'm refetching them whereas
I'm using Tanstack query to cache the data I get from Supabase and I would like to do the same for images that I get from the Storage API. That would be very convenient for me to be able to delete the caching that the storage API uses. I would want to rely only on Tanstack query for the caching of my data, since this allows me to control their display precisely (show a loader when I'm loading them, show another small loader in the top right of my app when I'm refetching them while still displaying the current image etc).
Currently that works perfectly for text data, but for images, Tanstack think that I'm refetching them whereas
.download() only give them back from the disk cache (in case they are in the cache ofc).