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
This is part three of a series on display consistency in embedded systems. The first two parts were technical. This one is about why the technical parts worked. The picture: ATtiny85 thermometer. Neural network inference. QUAD7SHIFT display. Built from datasheets. He had datasheets. No Stack Overflow. No libraries to install. No AI to generate boilerplate. No tutorials that abstracted away the in