The root cause was the caching enabled by W3 Total Cache plugin. I came across this issue when the Social Pug plugin stopped showing icons on the social media buttons. How to fix Ensure text remains visible during webfont load, on the site Forums. However, there might be times that make the solution more challenging. Simply change the resource URL from HTTP to HTTPS. ![]() How to Fix Mixed Content (Insecure Font) Issue?įixing the mixed content issue is relatively easy. The first 5 seconds of page load time have the highest impact on conversion rates. Using these resources, an attacker can often take complete control over the page, not just the compromised resource. Requesting subresources using the insecure HTTP protocol weakens the security of the entire page, as these requests are vulnerable to man-in-the-middle attacks, where an attacker eavesdrops on a network connection and views or modifies the communication between two parties. how can we ensure that text remains visible during webfont load Lighthouse > Performance > Diagnostics > Ensure text remains visible during webfont load Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello. Here is Google’s warning about the mixed content: ![]() This situation weakens your website security and it makes it vulnerable to man-in-the-middle attacks. The font-display descriptor can be used to ensure text is user-visible while web fonts are loading by using a fallback font from the user’s system, then replacing it with the custom font once loaded. To apply the font-display attribute to all stylesheets in your WordPress website, do the following: Navigate to Settings > Optimize Google Fonts > Optimize Fonts. Mixed Content is an error message that shows up when your website uses HTTPS but some resources (images, videos, extra HTML, CSS, or JavaScript) on your website are loaded on HTTP. To rectify this error, you will need to ensure that during the time that the browser loads your custom font, it should displaythe default fonts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |