---
title: "Discussion on \"How to prevent Flash of Invisible Text with Webfonts\" | Hashnode"
description: "Discussion on \"How to prevent Flash of Invisible Text with Webfonts\". Core Web Vitals"
url: "https://hashnode.com/posts/how-to-prevent-flash-of-invisible-text-with-webfonts/62a34eda165482d2b3ee9740"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to prevent Flash of Invisible Text with Webfonts](https://blog.jankoritak.com/how-to-prevent-flash-of-invisible-text-with-webfonts?utm_source=hashnode&utm_medium=feed)

Core Web Vitals

Jun 10, 2022 · 5 min read · blog.jankoritak.com  
Updated Jun 2  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#core-web-vitals](https://hashnode.com/tag/core-web-vitals)
-   [#css](https://hashnode.com/tag/css)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Jan Koriťák](https://hashnode.com/@jankoritak)

@jankoritak · Brno, Czech Republic

  
[View profile](https://hashnode.com/@jankoritak)

Tech-Lead @webscope.io - React, Next.js

Hi, I'm Jan. I'm a Tech-Lead @webscopeio and I'm taking a leap into the startup world with hire.dev app. I spend most of my time in front-end engineering. When I'm not programming, I work on hire.dev app. I'm active daily on Twitter @jankoritak! See you there!

## Responses 1

Markdown supported · ⌘↵ to post

[Honza](https://hashnode.com/@crs1138)

[Jun 18, 2022](https://hashnode.com/posts/how-to-prevent-flash-of-invisible-text-with-webfonts/62a34eda165482d2b3ee9740/comment/62ade01dd8afe74aa51faf15)

Lee Robinson from Vercel repeatedly vouches for using `font-display: optional` instead of the `swap`. He bases his advice on analysis ran across their hosting platform.

His advice in short is:

-   use variable font
-   preload font
-   self-host font (your own CDN)
-   font-display: optional

How does that compare to your recommendation?
