- This topic has 9 replies, 2 voices, and was last updated 8 years, 10 months ago by
Tom.
-
AuthorPosts
-
June 10, 2017 at 7:23 am #331524
dale
Hi guys,
I found the https://generatepress.com/fastest-wordpress-theme/ article really helpful for my site. Curious about a couple things:
Do you still recommend having both Remove Query Strings and Autoptomize? Or if I have Autoptomize, does that make Remove Query Strings superfluous?
I was looking at my 404s today and found these listed:
/fonts/fontawesome-webfont.ttf
/fonts/fontawesome-webfont.woff
/fonts/fontawesome-webfont.woff2
/fonts/fontawesome-webfont.ttf?v=4.7.0
/fonts/fontawesome-webfont.woff?v=4.7.0I implemented your suggestion for reducing the number of font-awesome icons that load, so I wonder if these 404s might be a result of that? If so, I won’t worry about them.
June 10, 2017 at 9:17 am #331609Tom
Lead DeveloperLead DeveloperRemoving query strings gives you better visual scores, but can be a pain when it comes to browser caching.
Autoptimize is great.
Can you link me to your site where those files are returning a 404?
June 10, 2017 at 9:49 am #331622dale
I have noticed that font-awesome icons are loading slowly — usually after everything else on the page. So maybe that’s part of it.
June 10, 2017 at 9:57 am #331634Tom
Lead DeveloperLead DeveloperCan you try clearing and deactivating any caching/minifying plugins (like Autoptimize).
If using Autoptimize, make sure you’re using the options I’ve specified on the article you linked to.
June 10, 2017 at 12:38 pm #331692dale
I wasn’t exactly clear which ones you wanted me to turn off. I cleared everything and turned off the ones that weren’t listed in the article (like WP Supercache), but only cleared Autoptomize but left it on with the indicated settings.
Didn’t do anything with Remove Query Strings or Ansync Java Script. Let me know if you want all turned off.
I also put Cloudflare in development mode so it shouldn’t be serving cached files
June 10, 2017 at 6:49 pm #331776Tom
Lead DeveloperLead DeveloperCan you turn off Autoptimize as well? I’d like to be able to read your source code.
June 10, 2017 at 9:35 pm #331819dale
Okay. Turned of Autoptomize, plus Async Java and Remove Query Strings. Let me know if I should do anything else.
June 11, 2017 at 12:39 am #331848Tom
Lead DeveloperLead DeveloperOk, so I’m seeing the regular GP font awesome call (no essentials). It’s linking to the fonts, which indeed exist: https://dalecameronlowry.com/wp-content/themes/generatepress/fonts/fontawesome-webfont.eot
I’m also seeing Elementor calling for Font Awesome, and those fonts are loading as well.
I’m also not seeing any 404 errors in the developer tools console.
June 11, 2017 at 3:32 pm #332132dale
Thanks. Looks like I accidentally deactivated the Font Awesome essentials code in Code Snippets.
In any case, I’m still having the loading problem on some pages of my website, particularly category and post pages: https://dalecameronlowry.com/category/for-writers/calls-for-submissions/
The only icon I can see in my social media menu (right hand side of footer) is the Patreon icon, which is an img and not a FontAwesome icon.
June 11, 2017 at 8:19 pm #332206Tom
Lead DeveloperLead DeveloperThe essentials filter only loads the absolute necessary icons for the theme to work. The social icons aren’t in that list of essential icons.
-
AuthorPosts
- You must be logged in to reply to this topic.