Page MenuHomePhabricator

Add X-Delete-At header to Score files being stored
Open, Needs TriagePublic

Event Timeline

Reedy renamed this task from Add X-Delete-At to files being stored to Add X-Delete-At header to Score files being stored.Jun 2 2026, 12:18 AM

The object expirer does run in the ms swift cluster, so if you start setting the relevant expire header on objects, that should take effect. NB if you do this it'll do nothing about even-older objects.

Change #1321664 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/Score@master] Add X-Delete-At header to Score files being stored

https://gerrit.wikimedia.org/r/1321664

The patch i made should do this for all files. .ly .midi .mp3 .svg and .png that score creates and stores.
I've made the default 365 days, but it's up for discussion what that value should be (and its configurable)

@Kelson how does Kiwix handle Score related files ? Do you simply download whatever is linked from the HTML content at the time the bundle is created ? Just making sure that I don't totally break something if we delete an old reference.