diary @ telent

meta, magick#

Fri 11 Sep 2026 03:25:23 PM UTC

Topics: fennel cripslock lua

I ran cripslock through PageSpeed Insights a few weeks back and was aghast to see how slow it was. No small part of this was due to having been uploading 4096x3072 phone photos directly onto the site and letting Boxy deal with presenting them at a suitable size - resizing client-side does nothing for the transfer size. Obviously.

So this is just a short blog post about blogging software: I have added luagraphicsmagick to the build, and use it to scale images to 1024 pixels before serving them, which should reduce their size approximately ninefold for little loss of quality.

(I also recently added a search box, which is in the sidebar)

When I went back to PageSpeed after deploying that, it said I should use srcset, and a better image format, and better compression, and do a bunch of other not-necessarily image-related stuff I'm also not doing (setting sensible cache headers would be a good one), and I am putting off doing almost any of it because I feel I should be spending the time on things I can write about instead of on polishing the platform where I write it. It also said I score 0/2 on "AI readiness", and my only question there is whether (and how) it's possible to get a negative score for that. OK, that's two questions.

Things I could be writing about but am not include