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

Badge from CELPA is stuck #12

Open
jcs090218 opened this issue Mar 14, 2021 · 3 comments
Open

Badge from CELPA is stuck #12

jcs090218 opened this issue Mar 14, 2021 · 3 comments

Comments

@jcs090218
Copy link
Collaborator

jcs090218 commented Mar 14, 2021

Hmm... I have recently added the badge on my origami.el README page with the following markdown code.

[![CELPA](https://celpa.conao3.com/packages/origami-badge.svg)](https://celpa.conao3.com/#/origami)

It renders CELPA but version is still stuck in the previous version timestamp.

After navigating through the url https://celpa.conao3.com/packages/origami-badge.svg, the version should be 20210314.1237 but it shows 20210311.1605 on GitHub. Would this be the issue from GitHub? 😖

@conao3
Copy link
Owner

conao3 commented Mar 14, 2021

I found this issue. As adding some query parameter like ?service=github, disable cache and fetch latest badges.
But celpa.conao3.com currently hosted on very cheap server, I cannot estimate the capabilities of the server.
Maybe we prepare just json and user generate cool badge using shields.io dynamic badge feature?

@jcs090218
Copy link
Collaborator Author

Maybe we prepare just json and user generate cool badge using shields.io dynamic badge feature?

This may work. I was wondering how MELPA achieve this? I think without ?service=github but we are still able to get the latest badges from MELPA.

@jcs090218
Copy link
Collaborator Author

jcs090218 commented Mar 18, 2021

Related discussion is here, melpa/melpa#2231.

We might need to set the header with no cache with in the Apache config file? See, https://stackoverflow.com/questions/11532636/how-to-prevent-http-file-caching-in-apache-httpd-mamp.

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

No branches or pull requests

2 participants