Skip to content

[Storage] How to handle/bust Supabase's CDN cache for public URLs of replaced files with same name #5737

Answered by rahul3v
bennettdams asked this question in Questions
Discussion options

You must be logged in to vote

Well, In that case you can store something as update_time under your DB, (as we prefer to do, when we update anything...right !)
and use that as a reference under any image url <Image_url>?t=<update_time>, that will reduce a lot many hits, and also able to use cached file

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@bennettdams
Comment options

@GaryAustin1
Comment options

@bennettdams
Comment options

Comment options

You must be logged in to vote
4 replies
@bennettdams
Comment options

@rahul3v
Comment options

@FileSoft-us
Comment options

@leblancmeneses
Comment options

Answer selected by bennettdams
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants