Skip to content

Commit 599df21

Browse files
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

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
![CI stable](https://github.com/triqs/solid_dmft/actions/workflows/build_release.yml/badge.svg)
55
[![PyPI version](https://badge.fury.io/py/solid_dmft.svg)](https://badge.fury.io/py/solid_dmft)
66
[![status](https://joss.theoj.org/papers/48eb529b08c6bb464b235ba919d78922/status.svg)](https://joss.theoj.org/papers/48eb529b08c6bb464b235ba919d78922)
7-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7105085.svg)](https://doi.org/10.5281/zenodo.7105085)
7+
[![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.7105085-blue.svg)](https://doi.org/10.5281/zenodo.7105085)
88

99

1010
---

0 commit comments

Comments
 (0)