W3 Total Cache
[resolved] Minify breaks @font-face on IE (4 posts)

  1. akilham
    Posted 2 years ago #

    When I enable the Minify cache (using the default CSS minifier), my custom fonts (using @font-face) don't load. They work fine on all other browsers.

    Is there anything I can do to fix this?


  2. dfumagalli
    Posted 2 years ago #

    Are you using manual minify? If so, you should press "View URL" and find what's calling your fonts. It's often pre-minified stuff and W3TC destroys pre-minified stuff when it tries to optimize it.

    If you are using autmatic minify, it's almost "normal" that portions of your website will have errors or will display poorly. Because automatic minify processes everything and in doing so, it includes exactly what was pre-optimized by the plug ins / theme authors and in re-optimizing pre-optimized stuff, W3TC breaks it hard.
    If this is the case you should switch to manual mode and follow my tutorial on how to deal with the issue.

  3. SpaceK33z
    Posted 2 years ago #

    This is because you can't minify @font-face in IE. You should, as dfumagalli said, manually minify it and leave the @font-face out of it. Put it back on top after you have minified it.

  4. akilham
    Posted 2 years ago #

    Thanks! I will look in to the manual minify :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic