Fonts still loading from Google
-
Hello,
We have installed CAOS webfonts plugin and have realized when pulling a Pingdom report, the specific font “Montserrat” we installed locally still shows in Pingdom as a request.
https://tools.pingdom.com/#5aa4a056fe400000
Thanks,
Bryan
The page I need help with: [log in to see the link]
-
Also, We do have Autoptimize installed and did select Remove Google Fonts.
That’s strange. Have you tried using the guide (link is in the welcome panel of the plug-in) to create a child theme and disable loading the fonts that way? This gives you much more control.
We also use another tool webceo and this report shows the following:
Minimize Critical Requests Depth
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_bZF3gfD_g.woff2
247 ms 28.5 kB
https://fonts.gstatic.com/s/montserrat/v13/JTUSjIg1_i6t8kCHKm459Wdhyw.woff2
217 ms 28.6 kB
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_cJD3gfD_g.woff2
263 ms 28.3 kB
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_dJE3gfD_g.woff2
268 ms 28.6 kBIn GTMetrix the error does not poplulate, it does if the plugin is disabled.
We have not tried the Child Theme option.
Again the webceo report:
Ensure text remains visible during webfont load
URL Potential Savings (ms)
https://fonts.gstatic.com/s/montserrat/v13/JTUSjIg1_i6t8kCHKm459Wdhyw.woff2
217.901999946
https://www.cloudworx.ca/wp-content/themes/Avada/includes/lib/assets/fonts/icomoon/icomoon.woff
268.620999996
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_dJE3gfD_g.woff2
268.714000005
https://www.cloudworx.ca/wp-content/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-regular-400.woff2
268.679999979
https://www.cloudworx.ca/wp-content/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-solid-900.woff2
268.513999996
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_cJD3gfD_g.woff2
263.693999965
https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_bZF3gfD_g.woff2
247.998000006
https://css.zohostatic.com/salesiq/May_06_2019_2_https/styles/fonts/float/siq.ttf
132.668999955Hello DaanvandenBergh,
I did some more digging and I am not sure but it looks like the fonts are being pulled from Autoptimze cache.
- This reply was modified 5 years, 6 months ago by cloudworx.
Hello DaanvandenBergh,
The fonts still seem to be loading from google, we cant seem to find the issue. Can you help?
Sure! Please use the contact form on my site to send me credentials for access to your admin area. I’ll take a look…
Hello,
Following up on this issue, can you confirm that you have received the login info as requested?
On the same note, I just ran a test on PageSpeedInsights- See screenshot of issues.
I’m sorry, @cloudworx,
I’ve been very busy at work. I’ve received your credentials.
I promise I’ll get back to you. ??
Are you still having this issue? If so, could you resend the credentials? I seem to have lost them… :S
– I am also facing the similar issue. Instead of serving fonts from a local folder, fonts are being fetched from google.
– The snippet of font.css file generated by the plugin is attached below. You can see the url is referencing fonts via fonts.gstatic.com instead of serving fonts from local cache/caos-webfonts.
– I have used your plugin in some other site as well. There it was working just fine.
– Let me know, if I can help with troubleshooting. Can connect over skype or teamviewer– Eagerly waiting for a fix for this.
/** This file is automagically generated by CAOS for Webfonts
*
* @author: Daan van den Bergh
* @copyright: (c) 2019 Daan van den Bergh
* @url: https://daan.dev
*/
@font-face {
font-family: ‘Poppins’;
font-display: auto;
font-style: normal;
font-weight: 100;
src: url(‘https://fonts.gstatic.com/s/poppins/v8/pxiGyp8kv8JHgFVrLPTucHtA.woff2’) format(‘woff2’), /* Super Modern Browsers */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiGyp8kv8JHgFVrLPTucHtG.woff’) format(‘woff’), /* Modern Browsers */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiGyp8kv8JHgFVrLPTucHtF.ttf’) format(‘truetype’), /* Safari, Android, iOS */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiGyp8kv8JHgFVrLPTucHtE.eot’); /* IE9 Compatible */
}
@font-face {
font-family: ‘Poppins’;
font-display: auto;
font-style: normal;
font-weight: 200;
src: url(‘https://fonts.gstatic.com/s/poppins/v8/pxiByp8kv8JHgFVrLFj_Z1xlFQ.woff2’) format(‘woff2’), /* Super Modern Browsers */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiByp8kv8JHgFVrLFj_Z1xlEw.woff’) format(‘woff’), /* Modern Browsers */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiByp8kv8JHgFVrLFj_Z1xlEA.ttf’) format(‘truetype’), /* Safari, Android, iOS */ url(‘https://fonts.gstatic.com/s/poppins/v8/pxiByp8kv8JHgFVrLFj_Z1xlEQ.eot’); /* IE9 Compatible */
`Regards
BhavyaOh, thnx for this @bhavyaw! Then there must be a bug in there somewhere causung the download to fail.
I’ll look into this soon, and add some proper error handling to catch this error.
I’ve released an update with some possible fixes. Please try this:
Empty cache directory,
Re-build the queue,
Download fonts,
Generate stylesheet.Does it work?
Since no one has responded to this issue in over a month, I’m closing it.
Hello Daan,
I like to circle back to this, I see someone else has the same issue.
I removed the plugin and like to try it again, I like to know before going through all the efforts to get this working. Will your plugin support these fonts:
See here > https://nimb.ws/4yPfxIFull report > https://gtmetrix.com/reports/www.cloudworx.ca/icv01GZj
Thanks,
Hi again and welcome back ??
Omgf doesn’t support the fonts starting with fa-. Since that is FontAwesome and not a Google font.
The other files are Google Fonts. Although it’s hard to say which, since the filename is randomized, omgf should support it. Because it supports all Google Fonts. ??
- The topic ‘Fonts still loading from Google’ is closed to new replies.