Archived topic
GTMetrix "Cancelled" status for GP fonts
10 replies · Started by Matthew on June 2, 2022
Hello,
After running a speed test, I noticed in the Waterfall section a bunch of red lines, all with the status 'Cancelled' and relating to GP fonts:
generatepress.svg
(canceled)
0
322ms
generatepress.ttf
(canceled)
0
322ms
generatepress.woff
(canceled)
0
322ms
generatepress.woff2
(canceled)
0
322ms
generatepress.svg
(canceled)
0
227ms
generatepress.ttf
(canceled)
0
262ms
generatepress.woff
(canceled)
0
262ms
generatepress.woff2
(canceled)
0
234ms
Here's an example of one of the Header messages:
alt-svc
h3=":443"; ma=86400, h3-29=":443"; ma=86400
cf-cache-status
DYNAMIC
cf-ray
714e8dd92fde0895-SEA
content-encoding
br
content-type
text/html; charset=UTF-8
date
Thu, 02 Jun 2022 07:42:44 GMT
expect-ct
max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
ki-cache-type
None
ki-cf-cache-status
BYPASS
ki-edge
v=17.6
nel
{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
report-to
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=fZq0qaAQPKQvFmLTutlIKwgNqyl91qP0eNstvBK7uRXG2olgINeHU50CjZDFmKaOby4sNQ5TDFXtO%2BR3NCLQKaEIjUdpXj8sJUqPVMBjQPL6Av%2FNg0AHfOZnffgBBcn%2FhnB2ng%3D%3D"}],"group":"cf-nel","max_age":604800}
server
cloudflare
vary
Accept-Encoding
x-content-type-options
nosniff
x-edge-location-klb
1
Any idea what this means?
Thank you
Hi there,
in Customizer > General what is the Icon Type set to ?
Hey David,
Thanks for the response. It's set to SVG.
OK, then there should be no reason those requests are being made. Do you have any plugin or server side caching ? If so can you try purging those caches ( and refresh any CDN if in place ).
Sorry for the belated response, I didn't get a notification about this.
I've tried clearing both WP Rocket and Kinsta's cache (which has a built in cloudflare cdn), the issue persists.
generatepress.woff2
(canceled)
0
300ms
(canceled)
0
152ms
generatepress.ttf
(canceled)
0
245ms
generatepress.svg
(canceled)
0
287ms
I've also seen it applies to:
/wp-content/plugins/woocommerce-cart-add-ons/assets/css/frontend.css?ver=2.3.0
(canceled)
0
I'm not sure why it's Aborting them though. This is the full header:
lt-svc
h3=":443"; ma=86400, h3-29=":443"; ma=86400
cf-cache-status
DYNAMIC
cf-ray
72653c885f4a30e3-SEA
content-encoding
br
content-type
text/html; charset=UTF-8
date
Wed, 06 Jul 2022 03:26:01 GMT
expect-ct
max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
ki-cache-type
None
ki-cf-cache-status
BYPASS
ki-edge
v=17.6
nel
{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
report-to
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=e7byzpBcFMSFFA2Jl94RNVCrKubeBkRS21ZmmbDBzfSQDzq3yFzANJ%2BxcXn4cZKHUFb5%2Ff12rYZ8CazORPrkBBRIFg8TUE2r2V4Sd3UZMwu%2FXdfTUy7x7Ht2QprDAami1pE3Zw%3D%3D"}],"group":"cf-nel","max_age":604800}
server
cloudflare
vary
Accept-Encoding
x-content-type-options
nosniff
x-edge-location-klb
1
Request Version - HTTP/2
:authority
:method
GET
:path
/wp-content/themes/generatepress/fonts/generatepress.woff2
:scheme
https
accept
*/*
accept-encoding
gzip, deflate, br
accept-language
en-US,en;q=0.9
cookie
racart=e32a8cc3-4b2a-4701-aea1-3832f561c5ba; ra_woo_cart_contents=W10-; wp_woocommerce_session_8efe6275830ab0ddd29a1216c973f74b=t_8295f31884a16959a5488e2ba0a924%7C%7C1657250756%7C%7C1657247156%7C%7Cf9b6fab8864b7ddc2498c5f637a52e88; woocommerce_recently_viewed=3180
origin
referer
sec-ch-ua
" Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"
sec-ch-ua-mobile
?0
sec-ch-ua-platform
"Linux"
sec-fetch-dest
font
sec-fetch-mode
cors
sec-fetch-site
same-origin
user-agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Is there anything else I could try?
Cheers,
Matt
Hi Matt,
To test if GTmetrix may have a cached version of your site, can you try testing with a different performance test platform?: Example: https://www.webpagetest.org/
Kindly let us know how it goes.
Hey Fernando,
Thank you for the prompt response. I've tried using the webpagetest as well as using a different product (in case the first was cached) but it also brings up the same error: https://www.webpagetest.org/result/220706_BiDcKR_44Y/1/details/#waterfall_view_step1
What's more, after clearing the cache of my site I noticed there's these weird symbols at the top: \n\n\n https://snipboard.io/KXRhfz.jpg (a screenshot of the top left of the header).
Any ideas?
Cheers,
Matt
Hi Matt,
i am not seeing those symbols - did you fix that?
Regarding the font, i found there is a bunch of preload links added to the head of your site - which includes the old GP icon fonts:
https://www.screencast.com/t/CNBpn5aEvX
Do you know how those preloads are being added ?
Hey David,
Thank you for the discovery, that definitely helped me narrow it down to WP Rocket. Apparently it has a Preload Font feature that was still linking to the old fonts.
I removed them from there and it fixed it. I'm not sure what happened to the n/n/n though but I'm happy it's not there anymore.
I appreciate the help!
Glad to hear that!!
Proper CORS headers need to be set between your server and CDN to prevent this. WP Rocket adds CORS on your end but the CDN end may not.