Support » Plugin: OMGF | Host Google Fonts Locally » Missing character set in HTTP header

  • Resolved Oliver Heinrich

    (@oheinrich)


    Hi Daan!

    first of all I want to thank you for your amazing work and the plugin you created!
    It’s functions are really outstanding and working very well and stable!

    While optimizing my website I saw this warning in GTMetrix:

    The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP headers can speed up browser rendering.

    https://gtmetrix.com/reports/www.empfehlbar.de/n0QVdRK4

    Maybe you want to have a look at it and find a way to optimize the plugin.

    Best regards,
    Oliver

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi Oliver,

    Thanks for your compliments! Happy you’re enjoying OMGF.

    However, the error you’re getting means that your server isn’t configured properly.

    If you’re using Apache, check your .htaccess file, it should contain something like this:

    <IfModule mod_mime.c>
        AddType application/vnd.ms-fontobject    .eot
        AddType application/x-font-opentype      .otf
        AddType image/svg+xml                    .svg
        AddType application/x-font-ttf           .ttf
        AddType application/font-woff            .woff
        AddType application/font-woff2           .woff2
    </IfModule>

    If it doesn’t, or you’re on Nginx, contact your hosting provider.

    Thread Starter Oliver Heinrich

    (@oheinrich)

    Hi Daan,

    thanks a lot for your fast answer!

    I integrated the code into my .htaccess file and it works like a charm!
    The warning in GTMetrix disappeared and I got an increase of my PageSpeed Score by 1% (now 97%) 🙂

    Best regards,
    Oliver

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Awesome! You’re almost at the big 1-0-0! 😉 Would you like to write a review?

    Thread Starter Oliver Heinrich

    (@oheinrich)

    Of course! I wrote it right now 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing character set in HTTP header’ is closed to new replies.