Overstuffed websites

I’m not ready to give up on the flexibility of WordPress for my main blog yet, but holy crap are those pages heavy. Even with compression. There’s no reason it should take 450K (before compression) and 20 requests to display a 500-word post.

And I don’t even do ads, popups, social sharing buttons or anything else like that.

By contrast, my Les Mis blog, where I post about once a year, is currently generated by Eleventy using a custom minimal theme that only takes around 10K of HTML, 3K CSS, and a third request for the icon. And another 40K for the header font, which I recently set up locally so it no longer has to call out to Google Fonts.

One domain, just 4 requests, and only 50K for the first hit and 10K for each subsequent page.

Compression cuts down on those 500K WP pages – all the text and code compresses really well so only around 200K bandwidth is needed. But it’s still got multiple JS and CSS requests going on.

I was able to cut it down significantly by switching to a lighter theme and turning on the minimize/combine feature in WP-Optimize so it’s making fewer script calls. But it’s still way bigger than the minimalist setup I have with 11ty

Some of it is images, though. I still have my latest Flickr posts in the sidebar, and I’m using Jetpack’s related posts feature which includes thumbnails. I could cut out a big chunk by removing those, but I kind of still like the idea of having them in there.

I think I need to take a look at how much extra stuff I really want on that site and rip some of it out. Eventually I’d like to replace all the JetPack features because they just seem to keep adding more scripts. Plus I want an entirely local stats package instead of one that’s offloaded to a third party even if they’re less awful than, say, Google or Facebook

Otoh, I want to keep Gravatar on the comments sections (on the older posts where people actually commented) because that’s actually useful to readers as an aid for following a conversation better. But that’s all on top of the base page size

Anyway, I should shut up about this and go to bed

Thread start on Wandering.shop

In reply to FiXato remarking that the Gemini version is likely even smaller:

It is! Not only does it not need the font, but instead of minimal layout and style, there’s *no* layout or style! Or even metadata!