I have updated the cache max age for my images in Supabase to 15552000 seconds (6 months), since my files will be static.
However, when I check the network tab in Chrome, the max-age is still 3600.
I have made sure that it was not because it was the old cache still working, but even after clearing the cache or waiting for the hour to pass, the max-age is still the same, 3600.
Even though the metadata of my image clearly indicates the max-age:
I am currently using the Supabase image URL instead of downloading the image, does that affect the result?
I also added an htaccess file with this code in it:
<FilesMatch "\.(ico|pdf|flv|jpg|webp|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=15552000, public" </FilesMatch>
Am I missing something?
Update: New images uploaded do have the max-age OK.