fawazahmed0 / exchange-api

Free Currency Exchange Rates API with 200+ Currencies & No Rate Limits
https://github.com/fawazahmed0/exchange-api#readme
Creative Commons Zero v1.0 Universal
662 stars 40 forks source link

Other options for cdn #42

Open fawazahmed0 opened 2 years ago

fawazahmed0 commented 2 years ago

npm support(max tar.gz package size 200mb): jsdelivr (doesn't work if package size > 100mb) unpkg.com (this works fine) cdnjs (not great, they store package in their repo)

cloudflare pages (20k files,25mb/file size limit) (not great, 20k files limit)

fawazahmed0 commented 2 years ago

https://github.com/fawazahmed0/cdn-open-source

PatrickHuetter commented 8 months ago

@fawazahmed0 You can just setup a domain on cloudflare, activate caching via DNS settings (they configure their own proxy hosts). After that you can go to page rules ( 5 rules are free ) and create a cache everything rule. After that you have fully cached everything without limits.

fawazahmed0 commented 8 months ago

Thanks @PatrickHuetter, the fallback api uses cloudflare pages. Also I just want to avoid setting up a domain, because it will require renewal every year.

fawazahmed0 commented 8 months ago

I have added date support in fallback api and also added support for YYYY-MM-DD format. please refer the readme