• Resolved inspired888

    (@inspired888)


    Hi Frank,

    I appreciate the time you spend answering support questions here.

    At first the issue I faced was that AO was preventing fonts from loading from our CDN. I found the info in the FAQ about adding a filter to functions.php. That did the trick.

    The issue I am now facing is that one font is loading from the CDN and again from the local folder. So it is loading twice. I’ve not found a way to get around this.

    You can see what I am referring to on when loading the homepage https://bit.ly/3pFZN6D

    The font in question is modules.ttf

    Oddly, it was also occurring before I added the filter. It was the only font that loaded without requiring the filter, but loaded twice still.

    Thanks very much … Jonathan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter inspired888

    (@inspired888)

    Well, oddly, after many hours of playing around with the AO and the CDN etc., and seeing always two copies of the modules.ttf font loading, it suddenly stopped. But now I find that AU is causing the header of the page to load in a very staggered way. I think this is possibly because the modules.ttf font is providing various icons, etc., and these seem to now be blocking the loading of the header.

    Is there a way to exclude just one font from the filter I put in functions.php?

    Thread Starter inspired888

    (@inspired888)

    After flushing AO cache and testing different settings in AO, the double font issue returned.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey Jonathan;
    I tested in both Firefox & Chrome but in both I saw modules.ttf only loaded once, so I assume you found the solution yourself already? ??

    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AO is making font load twice, once from CDN and once from local’ is closed to new replies.