2 ms·
> It's in the domain name: catchjs. The reason that the web is slow now is javascript. That is, treating a webpage like an application instead of a document. Th
by dgb23 6y ago
> It's in the domain name: catchjs. The reason that the web is slow now is javascript. That is, treating a webpage like an application instead of a document. This analysis just assumes all websites are JS-application monsters and only differentiates between them. It misses the point.
A large part of the web are static documents and they should be developed as such.
But I 100% disagree that this is how every website should be. We're given these amazing technologies, the internet, computers, libraries, tools and creativity and now we should just stick with sending and looking at formatted text?
I don't think so!
https://ciechanow.ski/gears/ https://ciechanow.ski/gears/
https://www.maria.cloud/ https://www.maria.cloud/
https://nextjournal.com/ https://nextjournal.com/
> What makes it even slower is the practice of serially chain loading JS from multiple domains. Once you're 3 deep in that it doesn't matter how 'fast' your webserver is or how fast and clean your JS code is, the serial loading will slow things to a crawl.
Bundling, code splitting, tree shaking and asynchronous loading, pre-optimizations help here too.