top | item 43926439

(no title)

CleanCoder | 9 months ago

The low lag part is especially impressive. Here is Wes Bos taking a deeper dive into the intricacies of technologies used to accomplish this: https://www.youtube.com/watch?v=-Ln-8QM8KhQ

discuss

order

Sohcahtoa82|9 months ago

I've always assumed that making a fast and responsive website isn't a technical problem, but a social/political one.

It's easy to create a website where interactions simply fetch the necessary resources and update the DOM as required. But managers then insist on adding 20 trackers so every little click and interaction gets logged somewhere for analytics.

Or are frameworks REALLY that slow?

imiric|9 months ago

> Or are frameworks REALLY that slow?

Of course they are. There's a significant overhead from a virtual DOM and reconciliation with the real DOM. Then there's the larger overhead from relying on JavaScript for everything. The JS VM in modern browsers is very performant, but it can't optimize poorly written code, whether that's from frameworks, the gazillion libraries modern web sites depend on for analytics, trackers, ads, shims, helpers, etc., and, of course, any custom JS specifically written for the web site.

Browsers can enable very rich and responsive interfaces, but web development is bogged down by the insane state of popular frontend stacks. There's a recent trend of rejecting this insanity (htmx, Nue, Datastar), which I hope gets us on a track where we optimize for user experience using native web technologies.

agumonkey|9 months ago

I remember people digging into this because it used good sense over vanilla js instead of complicated stack.

canucker2016|9 months ago

tl;dw - ASP.net, image sprites, yui, jquery, preloading, and caching

victor106|9 months ago

the also use asp.net