News for hackers. Stuff that matters.
Re:Faster web fonts by nicbou on Saturday May 15, 2021 @05:57PM (#27169392)
You're right [1]. I wasn't aware of that.

> I could probably improve it further with some page-specific splitting/inlining

My website(s) are very simple, so the CSS files are small. Even the larger pages are around 50 kilobytes plus images. That's why inlining is a no-brainer in my case.

[1] https://groups.google.com/a/chromium.org/g/blink-dev/c/K3rYL...

Re:Faster web fonts by eyelidlessness on Saturday May 15, 2021 @07:41PM (#27169957)
My current site is quite young, just 3 blog posts and a resume so far. The base shared styles are definitely small, but the resume and one of the blog posts add quite a bit more weight there. Both will probably share more with other pages as I add content, which is another reason I’m not ready to figure out how I want to split up the styles.

And I’m probably going to port it to another SSG framework[1] when I get the time and energy, and I’ll probably change a fair bit of tooling in the process.

1: https://astro.build/