Disable Text Flashing
Updated over a week ago

By default, browsers don't render text if the font isn't loaded, which slows down page rendering.

NitroPack instructs the browsers to render text as soon as they can and then swap the font of the rendered text when the font becomes available. This makes for a very fast page rendering, but the font swap is often visible to the users.

If you want to disable this feature and keep the default browser behavior where text is rendered only after the fonts are loaded, you can do the following:

1. Log into the NitroPack app

2. Navigate to the Cache Settings

3. Go to the HTML & CSS menu

4. Enable the "Generate critical CSS" option

5. Select "Remove @font-face rules from the critical CSS"

6. Go to Fonts settings and disable the "Override font rendering behavior" option by using its slider toggle on the right

7. Save the changes and purge your website's cache from the Dashboard:

Did this answer your question?