Live data from Hacker News

A super fast website using Cloudflare workers

crazyfast.website

71–80 of 83 posts

Re: A super fast website using Cloudflare workers

#71
post #28

Earlier quoted context omitted.

Most adblockers/privacy extensions disable this. uBlock Origin does it by default for instance.

Do they block completely? On Brave, the workaround on that linked snippet bypasses their blocking.

Well, uBlock Origin sets network.prefetch-next=false and network.dns.disablePrefetch=true, so yes.

The reason is that browser prefetching may hit URLs that were intended to be blocked.

Re: A super fast website using Cloudflare workers

#72

Earlier quoted context omitted.

But now it's that fast from almost everywhere on the planet, with nearly zero effort from the developer. We've been limited by light speed here, not compute.

The circumference of Earth at the equator is about 40,000 km and the speed of light is about 300,000 km/s. The appropriate division results in about 0.13 s. That seems to track. The vast majority of requests won’t go half way around the Earth, so maybe halving that time at 0.06 seems like a reasonable target.

Light travels at about 0.69c in fiber optic cables (c being the speed of light in vacuum, which, as you stated, is about 300,000 km/s).

Re: A super fast website using Cloudflare workers

#73
I still appreciate that you shared this even though other comments are correct that there isn’t much content on the page. Frankly speaking, more devs should put more thought into performance.

I’m currently working on a small e-commerce store for myself, written in SvelteKit (frontend) and Go (backend) and one of my core objectives is to make it fast. Not crazy fast, but looking for TTFB < 50-70ms for an average Polish user. Will definitely share it once it’s public.

Re: A super fast website using Cloudflare workers

#74

The site is indeed instant, those performance tricks does work (inline everything, botli compression, cache, edge network like cdn), BUT the site is also completely empty, it shows nothing except a placeholder. Things can easily change when you start adding functionalities. One site I like to visit to remind myself of how fast usable websites can be, is Dlangs forum. I just navigate around to get the experience. http…

I made a fast usable product page recently https://www.buyadagger.com/

Doesn't work without Javascript?

Re: A super fast website using Cloudflare workers

#75

Yeah, it's really quick because there is pretty much nothing on it

I agree. Not impressed, frankly. Cloudflare workers is just even-more localized CDN, and the benefit is so tiny that it's not worth the investment nor maintenance costs. (I wrote extensively about this non-thing here: https://wskpf.com/takes/you-dont-need-a-cdn-for-seo ). My site ( https://wskpf.com ), which has way more elements and, err, stuff, loads in 50ms, and unless you are superman or an atomic clock, you woul…

Your site took over a second to load for me from Brazil. Are you sure CDNs are that worthless?

Re: A super fast website using Cloudflare workers

#77
post #60

Earlier quoted context omitted.

Yeah, you'll do that, and get great feedback, and then when you roll it out to other users they'll do weird stuff you've not seen any of the test group try before. Users being weird are the fundamental root cause of all software problems. :)

Users can’t click a button that does not exist. It’s on product and engineering to curtail what the user can do. Optimizing for the happy path while not eliminating the incorrect flow is just bad software engineering.

Yeah I agree. I bet that guy is using JavaScript and MongoDB or something, and he is wondering why things break.

Re: A super fast website using Cloudflare workers

#78

The site is indeed instant, those performance tricks does work (inline everything, botli compression, cache, edge network like cdn), BUT the site is also completely empty, it shows nothing except a placeholder. Things can easily change when you start adding functionalities. One site I like to visit to remind myself of how fast usable websites can be, is Dlangs forum. I just navigate around to get the experience. http…

I made a fast usable product page recently https://www.buyadagger.com/

It's crazy how unusable most gun websites are for browsing what's available. This though is the perfect example of what I really want when browsing catalogues.

Re: A super fast website using Cloudflare workers

#79

The site is indeed instant, those performance tricks does work (inline everything, botli compression, cache, edge network like cdn), BUT the site is also completely empty, it shows nothing except a placeholder. Things can easily change when you start adding functionalities. One site I like to visit to remind myself of how fast usable websites can be, is Dlangs forum. I just navigate around to get the experience. http…

Another super super fast website is https://www.mcmaster.com/

Re: A super fast website using Cloudflare workers

#80

Earlier quoted context omitted.

I agree. Not impressed, frankly. Cloudflare workers is just even-more localized CDN, and the benefit is so tiny that it's not worth the investment nor maintenance costs. (I wrote extensively about this non-thing here: https://wskpf.com/takes/you-dont-need-a-cdn-for-seo ). My site ( https://wskpf.com ), which has way more elements and, err, stuff, loads in 50ms, and unless you are superman or an atomic clock, you woul…

Your site took over a second to load for me from Brazil. Are you sure CDNs are that worthless?

I do, because the 120ms latency that CDN solves is a drop in the bucket compared to the 2.5 seconds (desktop) or 8 seconds (mobile) it takes for the average website to load almost entirely due to un-optimized images and poor code (based on https://www.hostinger.com/in/tutorials/website-load-time-sta...)
Post reply on HN