-
New Dec 7, 2024
A quick WordPress Super Cache fix
When you use a bog-standard WordPress install, the caching header in the HTML response is Cache-Control: max-age=600 OK, cool, this means cache the HTML for 10 minutes. Additionally these headers are...
-
New Dec 4, 2024
Turn an animated GIF into a
Animated gifs are fun and all but they can get big (in filesize) quickly. At some point, maybe after just a few low-resolution frames it's better to use an MP4 and an HTML <video> element. You...
-
New Nov 27, 2024
AI’s “streaming text” UIs: a how-to
You've seen some of these UIs as of recent AI tools that stream text, right? Like this: I peeked under the hood of ChatGPT and meta.ai to figure how they work. Server-sent events Server-sent events...
-
New Nov 25, 2024
Inverse font subsetting
While at the most recent performance.now() conference, I had a little chat with Andy Davies about fonts and he mentioned it'd be cool if, while subsetting, you can easily create a second subset file...
-
New Nov 12, 2024
Web font sizes: a more complete data set
This is part 4 of an ongoing study of web font file sizes, subsetting, and file sizes of the subsets. I used the collection of freely available web fonts that is Google Fonts. In part 1 I wondered How...
-
New Nov 3, 2024
@supports and @font-face troubles
I've been crafting a nice font-face fallback, something like this: @font-face { font-family: fallback; src: local('Helvetica Neue'); ascent-override: 85%; descent-override: 19.5%; line-gap-override:...
-
New Nov 1, 2024
Letter frequency in the Bulgarian language
In this post, I talked about the letter frequency in English presented in Peter Norvig's research. And then I thought... what about my own mother tongue? So I got a corpus of 5000 books (832,260...
-
New Oct 28, 2024
Web font file size study: a variable font addition
TL;DR: If your variable font file is significantly larger than 35K you may ask yourself "How did I get here?" Two font files (of the same family) means more bytes than one variable font that does both...
-
New Oct 21, 2024
The zebra jumps quickly over a fence, vexed by a lazy ox
The zebra jumps quickly over a fence, vexed by a lazy ox. Eden tries to alter soft stone near it. Tall giants often need to rest, and open roads invite no pause. Some long lines appear there. In...
-
New Oct 20, 2024
Lessons learned from 222,557 font file subsets?
Earlier this year I wondered how many KB is "normal" for a web font file size (spoiler 20-ish KB). I finished the post questioning how much subsetting really helps, meaning how much do you save from...