[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge
From: |
Basil L. Contovounesios |
Subject: |
Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge |
Date: |
Thu, 03 Jun 2021 15:42:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> So we'd want the badge URL used in the `README.(md|org)`s such that the
> badge indicates the latest version of the package?
Yes, and thanks for setting up this nice eye candy.
Only minor issue is that the new badges don't play well with hosting
services that aggressively cache images, such as GitHub:
https://github.com/magnars/dash.el
Note that the GNU-devel ELPA version trails the corresponding MELPA one
due to server-side caching.
MELPA seems to solve this by configuring their NGINX web server to serve
badges with the HTTP header 'Cache-Control: no-cache':
https://github.com/melpa/melpa/pull/2231
https://github.com/melpa/melpa/commit/d75f22a6
https://github.com/melpa/melpa/commit/1834069f
$ wget -Sq https://elpa.gnu.org/devel/dash.svg
HTTP/1.1 200 OK
Date: Thu, 03 Jun 2021 14:27:49 GMT
Server: Apache/2.4.38 (Debian)
Last-Modified: Wed, 02 Jun 2021 21:02:33 GMT
ETag: "522-5c3cec70ecf29"
Accept-Ranges: bytes
Content-Length: 1314
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: image/svg+xml
$ wget -Sq https://melpa.org/packages/dash-badge.svg
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 03 Jun 2021 14:28:05 GMT
Content-Type: image/svg+xml
Content-Length: 1165
Last-Modified: Thu, 03 Jun 2021 13:27:58 GMT
Connection: keep-alive
ETag: "60b8d8de-48d"
Cache-Control: no-cache
Accept-Ranges: bytes
Is there someone here with access to GNU ELPA's Apache configuration
that would make a similar change? If not, where should this request go?
Thanks,
--
Basil
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge,
Basil L. Contovounesios <=
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Daniel Mendler, 2021/06/03
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Stefan Monnier, 2021/06/03
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Jean Louis, 2021/06/03
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, chad, 2021/06/03
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Stefan Monnier, 2021/06/09
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Basil L. Contovounesios, 2021/06/09
- Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge, Jean Louis, 2021/06/09