Hacker News new | past | comments | ask | show | jobs | submit login

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.



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


You 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/.loca...


I have a script [1] that uploads my website to BunnyCDN.

[1]: https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.p...


Thanks, I don't know Python but it looks pretty standard. It's similar to what I did in Node.


Ha 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>


Can'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!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: