hackage-server icon indicating copy to clipboard operation
hackage-server copied to clipboard

Cache control of /package/<pkg>/maintainers/ is incorrect

Open bgamari opened this issue 9 months ago • 1 comments

Given that this is dynamic and hopefully cheap-to-generate I think we should prohibit the CDN from caching this endpoint. With the status quo one can be very easily confused by adding a new maintainer and then finding that the change is not reflected in the maintainers list.

bgamari avatar Mar 19 '25 14:03 bgamari

There are a lot of such problems, e.g. if you do "delete all candidates" for a package, the old candidates remain on the candidate page indefinitely. And, perhaps most vexingly, if you upload a replacement candidate the candidate display still shows the old one. (This is still true even if you delete it explicitly first.) This makes updating candidates kind of tricky.

sauclovian-g avatar Mar 24 '25 23:03 sauclovian-g