---
title: "Discussion on \"Defeating Flash of Unstyled Text (FOUT)\" | Hashnode"
description: "Discussion on \"Defeating Flash of Unstyled Text (FOUT)\". I noticed when I loaded my personal site without cache, my text would first display without the correct font. It eventually restyle using the original font after everything loaded.\n\nI was originally using a NPM package called typeface-roboto to load ..."
url: "https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8"
---

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

Discussion

# [Defeating Flash of Unstyled Text (FOUT)](https://blog.codebycorey.com/defeating-flash-of-unstyled-text-fout?utm_source=hashnode&utm_medium=feed)

I noticed when I loaded my personal site without cache, my text would first display without the correct font. It eventually restyle using the original font after everything loaded. I was originally using a NPM package called typeface-roboto to load ...

Sep 24, 2020 · 3 min read · blog.codebycorey.com  
Updated Dec 3, 2020  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#css](https://hashnode.com/tag/css)
-   [#web-design](https://hashnode.com/tag/web-design)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#typography](https://hashnode.com/tag/typography)

## Written by

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

@CodeByCorey

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

Full-Stack Web Developer 💻 | Always Learning 📖 | Love for Plants 🌱

## Responses 4

Markdown supported · ⌘↵ to post

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Sep 29, 2020](https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8/comment/5f7311fdf955ec0a130f6099)

I was having the same issue without knowing how to fix it, thanks for the tip. Here is the [page](https://dinmon.github.io/show-me-your-tweets/), if you want to have a look.

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

[Sep 29, 2020](https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8/comment/5f7311fdf955ec0a130f6099#reply-5f734356f955ec0a130f6511)

I am glad I could help.

I just wanted to let you know this does have performance impact on your page if it's important to you.

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 25, 2020](https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8/comment/5f6d8503a654ca5357fd94ad)

Just be aware it might affect your loading times. Block makes it load longer, that's what swap is actually for.

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

[Sep 25, 2020](https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8/comment/5f6d8503a654ca5357fd94ad#reply-5f6dce76ade1fb598d439246)

Yes, I made sure to make that point that it will affect performance/load time.

[Syed Fazle Rahman](https://hashnode.com/@fazlerocks)

[Sep 24, 2020](https://hashnode.com/posts/defeating-flash-of-unstyled-text-fout/5f6cf2853284725135be73e8/comment/5f6cf3b13284725135be7401)

There’s no harm in doing that. Many websites follow this step to avoid typography flickering.

Thanks for sharing how it’s done.
