Commit 599df21
committed
[doc] Serve the DOI badge image from shields.io
Zenodo serves its badge SVG as a dynamic UI response
(cache-control: no-cache, session cookie) behind a 120 req/min per-IP
rate limit. GitHub's camo proxy therefore cannot cache it and re-fetches
on every render from a shared egress IP pool whose quota is chronically
exhausted, so a large fraction of renders got a 429 from Zenodo, which
camo surfaces as a 502 and the browser renders as a broken image.
shields.io sends cache-control: max-age=86400, so camo caches the image
and never re-hits the origin. logo=zenodo keeps the Zenodo mark, inlined
as a data: URI so it costs no additional request. The link target stays
the concept DOI, which never needs bumping per release.
Assisted-by: Claude <noreply@anthropic.com>1 parent 305578d commit 599df21
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments