Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@brennan.social.lol.ap.brid.gyDec 6, 2026, 2:15 AM

Another technical coding post where I go over all the ways I try to OPTIMIZE! the performance of my 11ty blog.

brennan.day/rolling-the-…

#11ty #eleventy #webdev #programming

brennan.dayRolling the Boulder Up: Making Eleventy Build 2.6× FasterIt's been a while since my last technical post, and once again we're here trying to optimize and increase build times of my ever-increasingly bloated little blog. Back in May, I wrote a post about making my Eleventy build five times faster by fixing an offensive git log implementation. In July, I wrote about cutting my Netlify build time in half by caching API responses, removing a dead Discord webhook, and moving post-deploy work out of the build window. These fixes made significant improvements, as I rolled the boulder of optimization up the hill of self-created code debt. But since then, I kept writing and coding. Brennan.day continues to grow, with more images, tags, archive pages, templates, and clever features I felt were really, _really_ needed. As a result, we're back at the bottom of the hill and starting again. My local production build now at twenty seconds and Netlify builds at around two and a half minutes. You must choose to imagine me happy. Let's begin. ## Measure the Build Flags It is a mistake to treat "the build" as a monolithic, singular blob. Somehow, over time, my `npm run build` command had become: "build": "eleventy --incremental && npx pagefind --site _site && node scripts/generate-json-feed.js && node scripts/generate-science-feed.js && node scripts/generate-honeypot.js" It builds Eleventy, then Pagefind search indexing, and then a few additional scripts I've hacked on. I realize it all adds up: Stage | Current Times ---|--- Full `npm run build` | 20.67s Eleventy | 14.83s cold / 12.32s warm Pagefind | 2.80s Passthrough copying | 823 files, ~580ms Let's see what we can do to improve those times! ## Font Awesome Parsing Every HTML Document To start, I use the official @11ty/font-awesome plugin. It works great. I write: <i class="fa-solid fa-terminal"></i> And the plugin turns it into an SVG reference while collecting the symbol into a per-page bundle. The problem is that the plugin's transform uses posthtml to parse and transform _every HTML document_. Not just documents with icons and not just the icon tags. Every page in full! And this is after Eleventy had already rendered it. There are over seven hundred HTML files that make up this site, and so there is a lot of code being parsed for no reason. I kept the plugin, but disabled the transform: eleventyConfig.addPlugin(pluginFontAwesome, { transform: false }); eleventyConfig.addPlugin(require("./config/fontawesome-fast.js")); I then wrote a more narrow custom transform in `config/fontawesome-fast.js`. This uses the plugin's code for icon metadata and SVG generation, but now it only looks for `<i>` elements with Font Awesome classes: eleventyConfig.addTransform("fontawesomeFast", function(content, outputPath) { if (!outputPath || !outputPath.endsWith(".html") || typeof content !== "string" || !content.includes("<i")) { return content; } // Replace <i class="fa-solid fa-terminal"></i> with: // <svg ...><use href="#fas-terminal" xlink:href="#fas-terminal"></use></svg> // and register the symbol with Eleventy's bundle manager. }); Beyond this, the script also parses attributes, merges default accessibility attributes, caches icon metadata, caches generated SVG fragments, skips icons inside comments, scripts, and styles, etc. While this works well for my small site, I would not blindly copy this idea if your site accepts arbitrary HTML from strangers. ## `slugify` Needed a Fast Path, Not Just a Cache In my first performance post, I memoized[1] `slugify`, but it didn't really help anything, since most calls were unique strings. This time, I looked at how the slugify library itself was doing expensive transliteration work. Nearly all strings were already regular ASCII, so it was pretty silly to have a Unicode transliteration pipeline for each build. The new filter has a cache _and_ a fast path: eleventyConfig.addFilter("slugify", (str, opts) => { str = "" + s
@weirdwriter.caneandable.social.ap.brid.gyNov 17, 2026, 1:28 AM

This is a really great guide, but I have absolutely no idea who came up with the new name, but I'm just going to say it will always be Eleventy to me. Getting Started with #11ty and #BuildAwesome | Adam DJ Brett www.adamdjbrett.com/blog/2026-11… #Eleventy

adamdjbrett.comHere is my lecture on building a website with Build Awesome (the static site generator formerly known as 11ty). * * * In L. Frank Baum's _The Wonderful Wizard of Oz_ (1900), the great and terrible Oz turns out to be a humbug, an ordinary man working levers behind a screen. Much of modern web development performs the same trick with bigger machinery. I will argue that a website is, at bottom, a folder of files, and that 11ty (now also called Build Awesome) is the best place to start building one, by walking you through a small portfolio site built on three ideas: a `src` folder, a `_data` folder, and one layout. By the end you will have a working site at `localhost:8080`, styled with Blades CSS, and four ways to put it online (GitHub Pages, Netlify, xmit, and Bunny). The sample site below builds and serves cleanly on Node 22 with Eleventy 3.1.8 (November 2026). The hosting steps follow each host's current documentation. ## A Note on Names: 11ty, and Build Awesome # Eleventy, 11ty, and Build Awesome name one project. Eleventy joined Font Awesome in September 2024, and in March 2026 its creator, Zach Leatherman, announced the rename to Build Awesome (hence the hashtag). The announcement promises that version 4 ships under the new name and that existing plugins and build commands keep working. For a beginner the practical point is simple. As of November 2026 the stable release is Eleventy 3.1.8, installed as `@11ty/eleventy`. Build Awesome v4 is still an alpha (4.0.0-alpha.10), installed as `@awesome.me/buildawesome` (v4 docs). This guide uses the stable release, and a later section shows how to try the alpha. When v4 arrives the name on the package changes, and the project promises your folder of files will not have to. ## An Easy Setup # You need Node.js 18 or newer (an even-numbered release such as 22 or 24 is the safer choice) and a terminal. Run `node -v` to see what you have. Then type five lines: mkdir my-portfolio cd my-portfolio npm init -y npm pkg set type="module" npm install @11ty/eleventy Those lines make a folder, create a `package.json` (the project's ID card), tell Node to use modern `import` syntax, and install Eleventy. ### Mapping npm run dev to localhost:8080 # A fresh Eleventy project has no `npm run dev`. Type it now and npm answers `Missing script: "dev"`. Eleventy's own command for a local preview is `npx @11ty/eleventy --serve`, and `npm run dev` is a nickname you have to create yourself. Nicknames live in the `scripts` block of `package.json`. Open that file and make the block read: "scripts": { "dev": "eleventy --serve --port=8080", "build": "eleventy" } Or let npm write the same block for you: npm pkg set scripts.dev="eleventy --serve --port=8080" scripts.build="eleventy" Here is the chain from the command to the address. `npm run dev` looks up `dev` in `scripts` and runs `eleventy --serve --port=8080`. The `--serve` flag builds the site, starts Eleventy's built-in web server, and rebuilds every time you save a file. The `--port=8080` flag names the door, so the site answers at `http://localhost:8080` (`localhost` means "this computer"). Eleventy already defaults to port 8080, so the flag only makes the mapping visible. Change the number and the address changes with it (`--port=3000` gives you `localhost:3000`). `npm run build` runs plain `eleventy`, which writes the finished site once and exits (every host below runs this command). Last, create a `.gitignore` file so Git skips the two folders you never commit: node_modules _site ## Organizing with a src Folder # Out of the box, Eleventy treats the project root as its input, so your pages end up sitting beside `package.json` and `node_modules`. A `src` folder fixes that clutter. What you write lives in `src`, what Eleventy builds lands in `_site`, and the configuration stays at the root. Here is the whole project you are about to build: my-portfolio/ ├── eleventy.con
J@joshbuchea.bsky.socialOct 19, 2026, 4:27 AM

Some tech topics I’m interested in:

- #AI
- #CSS
- #Eleventy
- #HTML
- #IndieWeb
- #JavaScript
- #LocalFirst
- #Markdown
- #OnePageWebsite
- #OpenSource
- #PlainText
- #ReactNative
- #RSS
- #SmallWeb
- #SolarPunk
- #StaticSites
- #SQLite
- #WebDev

@davidlamond.bsky.socialOct 18, 2026, 11:55 PM

What a distorted melange of misinforming bollocks. The only thing #auspol current circumstances has to do with #Eleventy and #Fraudenberg is identifying the root causes #theirABC
www.abc.net.au/news/2026-10...

?Unknown authorOct 18, 2026, 7:21 PM

Remade my website, it's still work in progress, but I really wasn't happy with the old one. Feedback is appreciated!

aninus.com

#website #11ty #eleventy #css

A screenshot of aninus.com before the rewrite.

A large hero section with gray background, there is a image of my profile picture with purple background. Under the logo are social media icons. Next to the logo it says: 'Hi! I'm Aninus.
My name is Aninus Partikler, but you might also know me as aninusmuffin or aninuscsalas. I self describe as a "hobbyist developer and designer" and "Worst Developer alive".'

Under the hero there are two sections called Projects and BlogA screenshot of the aninus.com's new design.

A smaller hero section than before the rewrite, light purple background, a large version of my cat logo with text next to it: 'Hi, I'm aninus.
Welcome to my little corner of the web! My name is Aninus Partikler, but you might also know me as aninusmuffin or aninuscsalas. I self describe as a "hobbyist developer and designer" and "Worst Developer alive".'

Under the hero there is a section that i call the 'signpost', on the left side there are huge buttons linking to Projects, About, Contact with small doodle icons on the left side. On the right side the Blog section has been renamed to Posts