• Hi,

    So I love WPDiscuz, but I hate font awesome as it slows down my website about 5 seconds loadtime. Whats happening right now is: If I disable font awesome in the settings, I get a 25 load time, if I enable it I get a 5 second load time.
    In my waterfall whats taking all the space is
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-solid-900.woff2
    kind of links
    I want to get rid of this, or something because its also returning as not found somehow? It all happened after updating to the new version, but even in the old version it was lagging my website down by a few seconds.

    Anyway, im getting a “The following requests are returning 404/410 responses. Either fix the broken links, or remove the references to the non-existent resources.”
    on this links:
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-regular-400.ttf
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-regular-400.woff
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-regular-400.woff2
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-solid-900.ttf
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-solid-900.woff
    /wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.0.6/webfonts/fa-solid-900.woff2

    How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi @tymer007,
    The 5 seconds delay comes from 404 error (file not found). If the FA lib files are found it’s loaded maximum within 0.8-1sec on first page load, and 0.3 on next page loads when the files are cached.

    So, first we need find and fix the 404 errors. I think you’ve not purged your CDN or the WordPress cache is not deleted properly. It still tries to load FA lib files from wrong directory. There are no files in /font-awesome-5.0.6/webfonts/ directory. in the current wpDiscuz 7.x.x version FA lib is located in /font-awesome-5.13.0/webfonts/ . This means your page is cached locally or in CDN. All issues should be fixed once you’ve purged and delete all kind of caches properly.

    And, please leave your website URL to allow us debug it deeper.

    Thread Starter Tymer007

    (@tymer007)

    There is no caching issue, I disabled all caching plugins more than once to test and the 404 comes from discuz itself, not sure if from the update or something, but it does. What I did to fix this was duplicate the 5.13 folder and call it 5.6 and it doesnt give 404 anymore, but obviously this is just a disguise for the actual problem that I really want to fix.

    Also, Google Pagespeed insights was telling me to call preloads to the 5.13 font awesome font, which I added 2 preloads, just in case you spot it and wonder where they come from.

    The plugins I use are Asset Clean Up Pro (Doesnt affect WPDIscuz at all) and WP-Rocket caching along with Cloudflare integration

    The URL is available here: https://pastebin.com/6ziG6DJC

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Font awesome ruining my speed’ is closed to new replies.