Free hosting with backblaze b2 and cloudflare CDN #31
Replies: 2 comments 5 replies
-
That's great! The "flexible" configuration is an issue I've encountered multiple times with cloudflare, I don't understand why they still have that as the default. One thing to consider here is how exactly cloudflare caches the requests because that might impact the user experience and mean different chunking configurations would be better for sql.js-httpvfs. I can think of three ways they could do it:
Have you noticed any cold starts? |
Beta Was this translation helpful? Give feedback.
-
Another free option to add to the pile is g-core labs. I actually have my files going g-core labs > cloudflare > backblaze, so that I still benefit from the free backblaze -> cloudflare data. g-core labs also let you prefetch things which is quite nice, and they have a CDN setting that does slightly more intelligent caching of range requests where it only downloads a 20MB chunk around the data you request (or something along those lines). I raised a ticket with Cloudflare about that strange CDN behaviour, but I actually haven't experienced it again recently. |
Beta Was this translation helpful? Give feedback.
-
So I was looking around for alternatives to github pages.. and managed to find a working free setup with backblaze b2 and cloudflare.
Backblaze has no bandwidth limits when routed through cloudflare.
Backblaze also has a 10GB free storage limit compared with github's 1GB limit. Definitely useful if working with a large dataset and lots of indexes!
One thing that tripped me up was that you need to change cloudflare's default SSL setting from "flexible" to "full" otherwise you just get timeouts as it tries to make requests to backblaze without ssl.
https://help.backblaze.com/hc/en-us/articles/217666928-Using-Backblaze-B2-with-the-Cloudflare-CDN
Thought this might be of use to others!
Beta Was this translation helpful? Give feedback.
All reactions