https://github.com/sinchang/badge-no-cache
Serve badge image on Readme without caching
https://github.com/sinchang/badge-no-cache
badge producthunt
Last synced: 4 months ago
JSON representation
Serve badge image on Readme without caching
- Host: GitHub
- URL: https://github.com/sinchang/badge-no-cache
- Owner: sinchang
- Created: 2021-05-06T11:52:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T04:42:09.000Z (about 5 years ago)
- Last Synced: 2025-10-25T17:45:47.096Z (8 months ago)
- Topics: badge, producthunt
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# badge-no-cache
## Why
If you add an image to GitHub, the URL of the image will be modified and the content of the image will be cached, it would cause data on the badge image doesn't update immediately.
## How
Update badge url as the below format:
```
https://badge-no-cache.sinchang.workers.dev?${badge url}
```
## Example
#### Default
#### Using `badge-no-cache`
## Who using it
If you use this approach, please let me know.
## References
- https://docs.github.com/en/github/authenticating-to-github/about-anonymized-image-urls