Why tablepress.woff font is loaded on the Home Page?

[ad_1]

Hi,

thanks for your post, and sorry for the trouble.

From what I can see, some other plugin (probably a “performance” or “CSS optimization” plugin) adding a pre-loading instruction

<link rel="preload" href="https://charbelnemnom.com/wp-content/plugins/tablepress/css/build/tablepress.woff" as="font" type="font/woff" crossorigin>

to the HTML source of your site. This is not done by TablePress. You would therefore need to check your other plugins, to see if there’s maybe an option to turn off font pre-loading, or if you can maybe configure an exclusion of that file.

By default, that font file is only loaded when needed (i.e. if there are elements on the page that use that font — it contains the icons for the sorting and pagination arrows).

Regards,
Tobias

Hello @tobiasbg,

Thank you for your kind reply!

Yes, I just added preload for tablepress.woff font with the Perfmatters plugin to improve the performance.

But the font was already shown in GTMETRIX | Waterfalls | Fonts before I preloaded tablepress.woff in the plugin.

Please note that I removed font Preload from the plugin and cleared my cache.

Could you please recheck and confirm?

Thank You!

Hi,

when I view the HTML source of your site, I still see the preloading <link> tag, so it seems it’s not yet fully turned off?

Regards,
Tobias

I turned on Preload Fonts settings completely, and I cleared the cache. Could you please recheck again?
Thank You @tobiasbg !

Hi,

yes, now the <link> tag is gone for me as well, and when I inspect the waterfall graph directly in Google Chrome’s developer tools, the .woff file is not loaded.

Regards,
Tobias

Thank you for confirming @tobiasbg, much appreciated!

Yes, I have noticed the same. The .woff file is not loaded anymore for TablePress.

The Preload Fonts optimization option is not needed in my case.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer