• Resolved sdawales

    (@sdawales)


    Hi All,

    Not sure if this is the right place or not but I have an issue with a modules.ttf file not compressing with gzip. The module is /wp-content/themes/Divi/core/admin/fonts/modules.ttf and I have tried everything I know and also I’ve tried every article I can find but no joy. Is it anything to do with Autoptimize? I doubt it but I thought I’d ask.

    I added a few things to my httpd.conf file and I think I’ve covered all the bases but maybe not? Here is is;

    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/manifest+json application/json application/x-font-ttf font/otf font/ttf

    Does anyone have any ideas? TIA.

    • This topic was modified 6 years, 7 months ago by sdawales.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    No, nothing to do with AO ??

    You’ll have to check what mime-type your TTF-files are served with (and if need be add it to Apaches filetypes) and then make sure that mime-type is in that line.

    Look e.g. here for inspiration.

    Thread Starter sdawales

    (@sdawales)

    OK, thanks anyway Frank. That page is not really a help. The mod_deflate code is not in my htaccess file and adding it returns a 500 error. I have this on a Cent server and the deflate file extensions are in my httpd.conf. Cheers anyway. I’ll find it somewhere!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem compressing a ttf file’ is closed to new replies.