Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localisation coverage status badges cacheable #1

Open
Berbe opened this issue Aug 29, 2018 · 0 comments
Open

Localisation coverage status badges cacheable #1

Berbe opened this issue Aug 29, 2018 · 0 comments

Comments

@Berbe
Copy link

Berbe commented Aug 29, 2018

Status badges as seen on https://github.com/OpenRCT2/Localisation/blob/master/README.md (ie https://api.openrct2.website/localisation/status/badges/en-GB) are cacheable, thus not showing accurate information on the current or recent status.

It would be better to use cache-controlling HTTP headers to limit cache lifetime (if any) : Cache-Control & ETag are a start.

Cf. https://gitter.im/OpenRCT2/Localisation?at=5b7f3772f86b741b05b3edcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants