For years I thought my only options were dual booting or using a clunky virtual machine. Dual boot meant constant reboots, and VirtualBox ate my RAM. Then I discovered Windows Subsystem for Linux 2, and honestly it changed how I work. Now I run a complete Ubuntu desktop right next to my Windows applications. I can code in a native Linux environment, test web servers, and even fire up Linux-only GU
My Hugo blog was downloading 3.6 MB of JavaScript and 40 KB of external CSS on every page load. For a static blog with mostly text and a few diagrams, that was absurd. Here is how I fixed it. HTML: 86 KB JavaScript: 3.6 MB (Mermaid + KaTeX) CSS: 40 KB (KaTeX stylesheets) Problem: render-blocking scripts loaded on every page for math and diagrams Adding minifyOutput = true to hugo.toml shrunk HTML