@yonle Wooaah... smart optimization. I wouldn't have thought about something like that.
It took me some time to understand the pull request as there is no provided description in the PR. I can understand it now. That makes sense for local media uploads because the file name must be unique for that file, and it never changes forever.
FWIW, I've applied the immutable cache-control hdr for
static-s.umeyashiki.org. I didn't change the Akkoma sources because it's purely served by nginx (except for the media proxy, I left it as is for the time being).
After adding the following directive in the nginx conf:
`add_header Cache-Control "public, max-age=1209600, immutable" always;`
And then after purging the Cloudflare cache, I verified it with curl that the header now contains "immutable". I hope it speeds up the load on my browser. Though I don't actually understand how it works behind the scenes.
Arigatou gozaimas