• Ramanan

    (@superpoincare)


    woff and woff2 files are already compressed and compressing them on the fly just puts load on the server for nothing. So need to be set to off.

Viewing 5 replies - 1 through 5 (of 5 total)
  • bgdstr

    (@bogdanstratulat)

    Login to your WordPress admin panel and navigate to “Performance > Page Cache” section. Scroll down to the “Advanced” section and look for the option “Never cache the following pages”.Enter the page URLs and directories under the “Never cache the following pages” to exclude them from caching. The exception supports regular expression. Enter one entires per line, it could be a page URL or the directory. The URLs and the directories are entered as relative URLs to your domain. Below are some of the examples:

    /showcase*
    /shop*
    /path/to/file

    I hope this helps.

    Thread Starter Ramanan

    (@superpoincare)

    You are talking about not caching pages

    My point was about gzip compression of woff and woff2 files.

    bgdstr

    (@bogdanstratulat)

    adding the full path in there should be fine and w3tc won’t cache those files. Also, another option is to add them as regular expressions : *.woff and *.woff2

    I hope this helps.

    Thread Starter Ramanan

    (@superpoincare)

    I am sorry, that is incorrect.

    I am talking of gzip compression of woff and woff2 files.

    You are talking about caching of html files.

    Don’t confuse the two.

    This is not a support question. This is a request to the plugin author for changes.

    I believe Woff2 files are essentially compressed by Brotli anyway so if that is true Gzip would never be able to compress further unless brotli was using very low settings.

    OP is correct if W3TC is trying to gzip woff2 then its a waste of resources.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘woff and woff2 don’t need compression’ is closed to new replies.