https://blog.steren.fr/2020/my-stack-will-outlive-yours/ Steren's blog My stack will outlive yours December 2020 My stack requires no maintenance, has perfect Lighthouse scores, will never have any security vulnerability, is based on open standards, is portable, has an instant dev loop, has no build step and... will outlive any other stack. It's not LAMP, Wordpress, Rails, MEAN, Jamstack... I don't do CSR (Client-side rendering), SSR (Server Side Rendering), SSG (Static Site Generation)... My stack is HTML+CSS. And because my sources are in git, pushed to GitHub, GitHub Pages is my host. Of course, I'm being a bit provocative here. I should rather say that, for some specific use cases, I concluded that to get top performances and to guatantee long term support, HTML+CSS was the best choice, instead on relying on technologies currently more popular. Because I'm done rewriting my site every couple of years. Why HTML+CSS? It all started with a blog, that I was hosting on Wordpress.com (which is "Wordpress-as-a-Service", because the last thing I want to do is administer a Wordpress installation on my own server). I paid Wordpress.com to do one job: host my blog. And one day I looked at its sources and Lighthouse scores: Sources of my Wordpress.com blog, showing a lot of inlined unreadable scripts Sources of my Wordpress.com blog, what is all this? Lighthouse scores of my Wordpress.com blog, showing 19/100 for Performance Lighthouse score of my blog hosted on Wordpress.com What have we done? Sure, these are the problems of one specific blogging platform. I'm pretty sure others are better, at least in terms of performance. But isn't there something fundamentally wrong if displaying a short text with images takes seconds, loads countless render-blocking scripts, and has unreadable sources? My requirements were: 1. performance 2. simplicity 3. long long term support It was time to say goodbye to Wordpress. I didn't need 99% of its features anyway. Other blogging platforms didn't meet expectations either (I seriously have no idea why so many people publish on Medium... behind a login wall). I looked at static site generators like Jekyll, Hugo, 11ty, but all of these require tooling installed, have a build step and will ultimately need some updates or be abandonned by their maintainer. What if we also get rid of these? The best tool is no tool, the best build step is no build step, the best update is no update. HTML gives us all that, and more. Lighthouse score of 100 Lighthouse score of this page What is the HTML+CSS stack good for? Let's first differentiate between what I call a web page and a web app: The goal of a web page is to serve content, on the other hand, the goal of a web app is to enable the user to perform interactive tasks. Of course, there are in-betweens, often in the form of content that might need customization depending on the logged in user and content that might allow some interactions. HTML+CSS fits the web page use case. Wow, what a revelation! It might seem obvious, but it seems we've all forgotten this these days. HTML+CSS does not fit the web app use case, or any in between. We said a web page serves content, but let's dive into more concrete use cases: * Product / Company / Business landing page and marketing sites * Personal portfolio / bio * Blog * Documentation How to develop for HTML+CSS? Authoring a pure HTML+CSS site can be done in any text editor, in any environment (any desktop OS, any smartphone, or even directly using GitHub's single file editor) and previewed by simply opening the file in any browser. Keep the HTML of every page minimal and semantic. First, because there is no need for countless of