Storage uploads do not have `cache-control` header
funwithtriangles opened this issue · comments
Alex Kempton commented
Describe the bug
When downloading images that were uploaded using supabase-py
, they do not have the correct cache-control
header, meaning the image is never saved on the browser. Downloading images that were uploaded via supabase-js
, they have cache-control: max-age=3600
.
Is this the case for others? Or have I got something wrong on the implementation side?
Joel Lee commented
Hey,
Thanks for reporting this! You're right- I don't think the cache-control headers are being set in the Python lib - I'll look into it when a slot frees up but PRs are welcome too. Going to transfer to the storage lib.
Jo