+++ title = "Modern web bloat" date = 2021-04-09T15:00:00Z [taxonomies] category = ["tech"] tags = ["tips", "vent"] +++ This is it. My first blog post; I guess I just became a boomer. Inspiration ----------- Some time ago I stumbled upon [this video](https://odysee.com/@Luke:7/a-demonstration-of-modern-web-bloat:f), where the popular Linux influencer [Luke Smith](https://lukesmith.xyz) talked about the effort of looking up a Chicken Parmesan recipe in 2021 without having any adblock or privacy extensions enabled. That's because most modern websites take a lot of time to load framework files, ads and trackers. While that's kinda functional, I think we should change our habits and start making simple websites again. In fact, I thought about creating this blog (and article) when I saw [Lonami](https://lonami.dev/)'s minimal website and immediately noticed how fast and clean it feels. Yeah, this looks like a first world problem and it probably is, but it's not as subtle as you think. I'm actually convinced that the internet **could** actually benefit from this way of thinking, and that's what I'm going to talk about. The problem ----------- In the early days of the internet, it was common for webpages to be written using only HTML, so we had very ugly but functional websites. As technology went on, sites needed to get more modern-looking and _interactive_; that's why CSS and JavaScript were introduced into the mix, allowing for dynamic websites that could actually change based on user input. As of nowadays, a lot more stuff went into the mix, to the point where the browser is now the most common program we use in our OS: you can, in fact, use it for doing things that 15+ years ago required external programs, like: * playing music and video, * reading PDF files, * doing office work, * checking e-mail, * cloud storage, * etc... I guess people just find it more comfortable if they can do everything with a single program, and they're not to blame for that. This _is_ the easiest approach for unexperienced people: just have a program that does everything, instead of having to learn how to use a bunch of different software. This plethora of uses is possible today because of the existence of various libraries and frameworks that simplify JavaScript and CSS and make them easier to develop complicated websites with. This is good for basic web users who just want functional websites, and great for developers since they can easily code advanced functions inside the browser, which makes them work in every OS. Sadly, this brings us to the problem: any modern website has become a burden for any browser to load, since our browser needs to download and parse through each library and often fill the page content as you scroll through. In his video, Luke Smith found that a simple Chicken Parmesan recipe would take up to _5-10 megabytes_, which doesn't sound like a lot, but it actually is. It's easier to understand it if you think about it with video-games; any game on 16-bit[^gaming-storage] consoles and earlier, including full-fledged 30+ hour adventures like _Final Fantasy 6_ and _Chrono Trigger_, weighs less than one single recipe page. The solution -------- Well, I don't think this "problem" is getting solved soon, as new frameworks for web development are constantly being introduced. Sadly, it's a one-way train, but if you're a web-dev you could actually make a difference yourself! I mean, this can not apply to all websites. Some of them just _NEED_ to be as responsive and interactive as they are; most of them actually just became bloated at a certain time period (probably mid-2000s) when having a flashy website was cool and different from what everyone else had. Nowadays you can be different than other websites by using plain HTML and CSS for your website: this ensures your pages will load instantly and be compatible even with the oldest of browsers! If you like this philosophy, you can check out other projects that aim for a simpler and faster web, like these ones: * [zola](https://www.getzola.org/), a simple and modern static site engine; * [based.cooking](https://based.cooking/), a modern recipe website based on collaboration via GitHub; * [wiby.me](https://wiby.me/), a search engine that aims to only index classic style webpages. Footnotes -------- [^gaming-storage]: As stated in [this article](https://blogs.umass.edu/Techbytes/2014/02/10/history-of-gaming-storage/#attachment_2827).