Though, at least it is under a megabyte, but still very far from the 10kb he lists as desirable.
For comparison, https://brutalist-web.design/ has similar goals, and clocks in at 157kb, images included.
It's even possible to use all the fancy CSS, web fonts (subsetted) and end up with a styled 192kb site with sub-second load time: https://gtmetrix.com/reports/scripter.co/1HzEKKve
You just need to *know* what exactly your site is loading. Also use as strict CSP as possible for a more secure site.
@kaushalmodi Indeed, but that's quite a bit of work to get there.
(the post in question loads at 2s, and pagespeed/yslow scores are only B, with plenty of low-hanging issues it could improve on.)
I'm not a web dev by profession. So it took me a while to discover, learn and adopt stuff like minification, cache busting, font subsetted and image size optimization.
Sites like gtmetrix and webpagetest helped me get my site to where it is right now.
Now the final bottleneck is me needing to learn JS. Then I can probably do without jQuery except on my Search page.
But for folks in webdev, I'd believe that all of the above concepts would be common.
@sonniesedge THANK YOU. js is amazing but if you’re putting static text and images on a screen it’s hard to beat good ol’ HTML.
Two of the best points I found in this article are in the comments:
"I do think it can be both (although it's waaaaay better and easier as a document viewer) but the problem is people are too often making "applications" out of recipe books, blogs, etc."
React is a great tool for something like Mastodon, but it's not necessary for the vast majority of the web. I'm a big fan of static site generators for most things.
@sonniesedge Unfortunately, that rosy view of the past where the web wasn't shit never actually happened. Instead, 10-15 years ago half the sites used ActiveX for the nav bar and Flash for ads.
@SuperFloppies I'm pretty certain that time machines don't exist, Floppy. I'm therefore inclined to say "no".
@sonniesedge I still take issue with "delivering content". I write text. About things that interest me, and hopefully other people. If you call it "content" I'm afraid it will be seen primarily as an ad vehicle (and I have no ads on my website or my blog).
mastodon.technology is shutting down by the end of 2022. Please migrate your data immediately. This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!