-
Notifications
You must be signed in to change notification settings - Fork 24
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
badges are not updating #19
Comments
this may be because of the cache policy, I will play around with that a bit and try to make it work better!! thanks for telling me |
removed cache policy for the badges that don't need it (every one but the visits badge) so this should be fixed |
Could you regenerate the bug? And did you test the fix? Because it didn't work. I just created a gist, still, the old count is shown. |
I could reproduce it with the commits badge, and tested it afterwards. it might be that githubs internal cache policy for images fucks us over here, any ideas? |
@puf17640 I think it's probably not a cache related issue on GitHub's end. If you look at my README, you'll see I have a "followers" badge, that one is using shields.io and being updated. |
I have now changed the code so that you are actually redirected to shields.io instead of me proxying the shields.io request, this was quite a performance increase and should also have fixed the problem displayed here, since i now have nothing to do with the caching, its all github or shields.io |
@puf17640
In my computer, the counter seem like And if I want to update the count of "commits this month", I had to change the link.. But when I visit this link: https://badges.pufler.dev/commits/monthly/minji-o-j?style=flat-square&color=black&logo=github it works well!! I think it isn't update automatically in markdown file, not only this but Repos badge.. |
yeah it seems that github is the problem here
|
Hi, this maybe useful. For anyone facing this, please give it a shot. |
Hi, the badges are not updating for some reason. I created repositories, made commits, etc but only the old count is shown. I cleared the cache and also tried in incognito mode, the same result.
Interestingly though, when I open the README file on vscode, and preview the file, I see the updated counts.
Can you help with this? Below is the code I used to add the badges on my README.md:
Thanks.
The text was updated successfully, but these errors were encountered: