Anda's blog

Font perfomance strategies by Mandy Michael

After doing some work involving fonts in FreeAgent, I was interested in Mandy Michael's talk at performance.now() 2024, Font perfomance strategies. You can find all of the talks in the performance.now() 2024 Youtube playlist.

Mandy talks us through her strategies for improving font performance on websites. Here are my take-aways from her talk.

Use system fonts

Jump to section titled: Use system fonts

Hosting

Jump to section titled: Hosting

Reduce the number of fonts

Jump to section titled: Reduce the number of fonts

Variable fonts

Jump to section titled: Variable fonts

Reduce font file size

Jump to section titled: Reduce font file size

Practical tips

Jump to section titled: Practical tips

Subsetting

Jump to section titled: Subsetting

Incremental Font transfer

Jump to section titled: Incremental Font transfer

Displaying fonts

Jump to section titled: Displaying fonts

How to reduce layout shift when swapping in fonts

Jump to section titled: How to reduce layout shift when swapping in fonts

Font loading

Jump to section titled: Font loading

Conclusion

Jump to section titled: Conclusion

Mandy offers us a shorthand way of remembering how to optimise fonts. This is a direct quote from her talk:

Self host as few (probably) variable, woff2 fonts as possible that have been sliced (if they're variable fonts), subset & (maybe) preloaded. They'll be cached, swapped or optionally displayed & use font-size-adjust or size-adjust css properties to reduce layout shift.

Resources

Jump to section titled: Resources