5 ms·
BunnyCDN is nice! Switched from Cloudflare one or two years ago and not looking back, it's a "real" CDN and doesn't require cookies.
by jlelse 6y ago
BunnyCDN is nice! Switched from Cloudflare one or two years ago and not looking back, it's a "real" CDN and doesn't require cookies.
- pier25 6y agoI tried to use their push CDN service but I could never upload a file through their API. I went back and forth with support but nothing got solved. Also, the API for their dashboard was super slow for me. I mean waiting up to 10 seconds for every click on the dashboard or API interaction.
- axelthegerman 6y agoCan't find it right now but I definitely uploaded some files via their API - weird you couldn't figure it out together with support. Also their pages load as fast as anything these days, no problem there either. Super happy with BunnyCDN - even the pricing!
- gkbrk 6y agoI have a script [1] that uploads my website to BunnyCDN. [1]: https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.py https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.p...
- pier25 6y agoThanks, I don't know Python but it looks pretty standard. It's similar to what I did in Node.
- axelthegerman 6y agoHa I actually just came across my snippet - this is what I used in curl: curl -X PUT --data "@./<file>.html" -H 'AccessKey: <YOUR_KEY>' https://<REGION>.storage.bunnycdn.com/<SPACE>/<PATH>/<FILE> https://<REGION>.storage.bunnycdn.com/<SPACE>/<PATH>/<FILE>
- jamesponddotco 6y agoYou can upload files with their API using cURL and the --upload-file parameter. I wrote a shitty bash script to upload images[1] to it which should help you, if you still need it or want to give it a try. [1] https://git.sr.ht/~jamesponddotco/dotfiles/tree/master/.local/bin/cpimg#L67 https://git.sr.ht/~jamesponddotco/dotfiles/tree/master/.loca...