Live data from Hacker News

A super fast website using Cloudflare workers

crazyfast.website

51–60 of 83 posts

Re: A super fast website using Cloudflare workers

#51
post #46

Getting a site to load quickly isn't that difficult from a technical perspective. You just need to strip out everything that slows it down. If you can deliver a page of HTML and inlined CSS that renders without JS or images then your site will be fast (or at least it'll be perceived as fast, which is fine.) So long as you're using some fairly reputable hosting infrastructure (AWS, Azure, Google, etc), and if you're r…

[flagged]

Start your own company.

Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app. Then you'll start wondering if installing something to record sessions is actually a great idea that could really help you optimize things for people and get them more engaged (and spending more money.)

Fast forward three years, and you'll be looking at the source of a page wondering how things got so bad.

Re: A super fast website using Cloudflare workers

#52
post #51

Earlier quoted context omitted.

[flagged]

Start your own company. Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app. Then you'll start wondering if installing something to record sessions is actually a great idea that could really help you optimize things for people and get them more engaged (and spending more money.)…

> Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app

That's putting the cart before the horse. The way it's properly done is just to invite a few users and measure and track their interaction with your software. And this way you'd have good feedback instead of frustrating your real users with slow software.

Re: A super fast website using Cloudflare workers

#53
post #49

Earlier quoted context omitted.

Yeah, I'm not seeing fast uncached times either. I usually hit Cloudflare's Miami datacenter, which is only about 200 miles and very low latency. But I'm seeing 200+ms on this site right now.

Most cloudflare products are very slow / offer very poor performance. I was surprised by this but that’s just how it is. It basically negates any claimed performance advantage. Durable objects, r2 as well as tunnel have been particularly poor performing in my experience. Workers has not been a great experience either. R2 in particular has been the slowest / highest latency s3 alternative I ever had experience with, f…

got 12/31ms and 6/13ms cached so Cloudlfare muat not be that slow in Europe after all... ;)

Re: A super fast website using Cloudflare workers

#54
post #51

Earlier quoted context omitted.

[flagged]

Start your own company. Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app. Then you'll start wondering if installing something to record sessions is actually a great idea that could really help you optimize things for people and get them more engaged (and spending more money.)…

You forgot the best bit - not removing the ones you no longer use!

Re: A super fast website using Cloudflare workers

#55
What does this page do that needs workers though? Looks like it could be static HTML to me.

I think most sites could either be static HTML and use a CDN, or they need a database and pretty much have to be located in one place anyway.

It's quite hard to think of use cases where that isn't true.

Re: A super fast website using Cloudflare workers

#56

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/

Re: A super fast website using Cloudflare workers

#57

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…

Some sites can be very simple and yet quite useful. For example https://rawdiary.com/ always impresses me with its speed.

Re: A super fast website using Cloudflare workers

#60
post #51

Earlier quoted context omitted.

Start your own company. Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app. Then you'll start wondering if installing something to record sessions is actually a great idea that could really help you optimize things for people and get them more engaged (and spending more money.)…

> Eventually you'll want to know what users are doing, and specifically why they're not doing what you expected them to do after you spent ages crafting the perfect user journeys around your app That's putting the cart before the horse. The way it's properly done is just to invite a few users and measure and track their interaction with your software. And this way you'd have good feedback instead of frustrating your…

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. :)

Post reply on HN