Do you have a WOFF2 version of xstore-icons-light.ttf? The TTF file is causing a 3 second render blocking delay on mobile according to PageSpeed Insights
This topic has 4 replies, 2 voices, and was last updated 32 minutes ago ago by Andrei Andrei
Do you have a WOFF2 version of xstore-icons-light.ttf? The TTF file is causing a 3 second render blocking delay on mobile according to PageSpeed Insights
Hello, I have a performance issue with xstore-icons-light.ttf. This TTF file is causing a 3 second render blocking delay on mobile according to PageSpeed Insights. The file is located at /wp-content/themes/xstore/fonts/xstore-icons-light.ttf and weighs 31.62 KiB. Do you have a WOFF2 version of this file, or can you advise how to load it without blocking rendering? Thank you
Hello @Andrei Andrei,
You can the below code to disable these types of icon font that we use in our theme. Add the code to child theme functions.php
add_filter('etheme_preload_woff_icons', '__return_false')
add_filter('etheme_preload_woff2_icons', '__return_false')
Kind regards,
Jack Richardson
The 8theme’s team
Hello,
We have been optimizing our site (onedee.ro) which uses XStore + Elementor + LiteSpeed Cache. We achieved good scores but hit a wall with two issues we cannot resolve without your help.
Issue 1: UCSS not working without CSS Combine
LiteSpeed’s UCSS (Unused CSS removal) requires CSS Combine to be enabled. However, when CSS Combine is ON with XStore + Elementor, it generates 29+ separate CSS files that block rendering for 11 seconds instead of 1. When CSS Combine is OFF, we get one 149 KiB CSS file with 131 KiB unused CSS.
Question: Is there a way to reduce the main XStore CSS file size without CSS Combine? Which modules can we safely disable to reduce the CSS footprint?
Issue 2: xstore-icons-light.ttf still loading despite WOFF2 override
We have WOFF2 version available and applied font-face override via wp_head, but the browser still downloads the TTF file. We used your suggested filters etheme_preload_woff_icons and etheme_preload_woff2_icons set to false, but TTF persists in the network requests.
Question: How do we completely prevent the TTF from being requested by the browser?
Thank you.
You must be logged in to reply to this topic.Log in/Sign up