Uploadthing, image is accessible even after deletion?
Hey,
I am removing a file from uploadthing, i can see that the file is removed from the bucket but whenever I try to access it using the url, i can still access it. Is there some other thing that i need to do?
5 Replies
the asset is cached by cloudflare
check the response header of the request and see if
Cache: hit
or something similar is therelike this
even if it's deleted from UP, still "up" on cf/your cache
can we bust that cache?
yep, it is returned by the cache
it's of CF side of things
i don't remember them giving an option