exchange-api icon indicating copy to clipboard operation
exchange-api copied to clipboard

Other options for cdn

Open fawazahmed0 opened this issue 2 years ago • 4 comments

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 avatar Apr 04 '22 21:04 fawazahmed0

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

fawazahmed0 avatar Apr 18 '22 19:04 fawazahmed0

@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.

PatrickHuetter avatar Mar 06 '24 12:03 PatrickHuetter

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 avatar Mar 06 '24 12:03 fawazahmed0

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

fawazahmed0 avatar Mar 06 '24 18:03 fawazahmed0