haskell / haskell/hackage-server
Cache control of /package/<pkg>/maintainers/ is incorrect
Open
- Dominant language
- Haskell
- Stars
- 467
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the handler for /package//maintainers/ and inspect how its response cache headers are set. Make the endpoint prohibit CDN caching, then verify that its response headers prevent stale maintainer lists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100