Follow

"Most websites are about delivering content. HTML is amazing for this and you DON'T NEED JAVASCRIPT."

I would like to marry this post. 👰

dev.to/quii/the-web-i-want-43o

@sonniesedge If only that post didn't need 69 requests and over half a megabyte to transfer, and wouldn't include facebook and google javascript trackers... what it preaches is great. The platform it does so... not so much.

Though, at least it is under a megabyte, but still very far from the 10kb he lists as desirable.

For comparison, brutalist-web.design/ has similar goals, and clocks in at 157kb, images included.

@algernon

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: gtmetrix.com/reports/scripter.

You just need to *know* what exactly your site is loading. Also use as strict CSP as possible for a more secure site.

(I do use a tiny bit of JavaScript borrowed from elsewhere for dynamic TOC and MathJax). Now I just need to learn JS so that I can get rid of jQuery.

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

@algernon
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.

@algernon Given that the author is guest posting on that domain I think some slack can be cut.

@sonniesedge I want to unfavourite this just so I can favourite it again.

@sonniesedge thats why i love noscript.. js is a plague

@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.

@sonniesedge have you tried loading Mastodon's desktop web without javascript? LOL

@donblanco

@sonniesedge
as the article points out, there are circumstances where it is warranted and web apps are them. mastodon seems like a fine example of where javascript is useful. most webpages are just basically trying to deliver some content though, and js often just gets in the way and makes things inaccessible. that said you can browse mastodon sans javascript thanks to #brutaldon

@sonniesedge USA Today european edition.

That was like a dream. :3

@sonniesedge
Yes, I couldn't agree more!! Here's to websites that use no js...

@sonniesedge

Two of the best points I found in this article are in the comments:

"you can divide web developers into two camps: you either think a web browser is an HTML document viewer, or you think it's a platform for JavaScript applications."

"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."

@sonniesedge

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.

@nat half the sites used ActiveX for the navy bars. Gosh.

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

Sign in to participate in the conversation
Mastodon for Tech Folks

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!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!