https://github.com/foyer-work/cdn-files
Files to be served using CDN
https://github.com/foyer-work/cdn-files
Last synced: 5 months ago
JSON representation
Files to be served using CDN
- Host: GitHub
- URL: https://github.com/foyer-work/cdn-files
- Owner: foyer-work
- Created: 2023-09-27T09:24:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-13T21:36:29.000Z (6 months ago)
- Last Synced: 2025-12-15T15:53:37.488Z (6 months ago)
- Homepage:
- Size: 28.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CDN Files served using JSDelivr
Use this repo to store files which are to be served by the JSDelivr CDN. This repo is **PUBLIC**, so **DO NOT** include files which have sensitive information related to Merlin, or Foyer or any other production service in deployment.
### Example URL
File Name: `merlin_config.json`
CDN URL: `https://cdn.jsdelivr.net/gh/foyer-work/cdn-files@latest/merlin_config.json`
### Purge Cache from CDN
**NOTE:** DO NOT PURGE MULTIPLE TIMES IN A ROW TO AVOID GETTING RATE LIMITED ON THE PURGE API. ALSO CHECK THE FORMATTING OF THE JSON BEFORE PURGING.
**NOTE:** IF IN DOUBT, DO NOT YOLO IT, ASK BEFORE TAKING ANY ACTION.
1. Tag the specific commit to the latest version according to the semver convention as `git tag ${semver} && git push origin ${semver}`.
3. Head to `https://jsdelivr.com/tools/purge`.
4. Enter upto 10 JSDelivr URLs of the files to be purged.
5. Click Purge and test out the URL again to check if the file has been updated.