• Resolved franco4785

    (@franco4785)


    Question, is WOFF2 supposed to be compressed by .htaccess via this plugin?

    I ran a site speed test through tools.pingdom.com and it complained that “The following publicly cacheable, compressible resources should have a “Vary: Accept-Encoding” header:”

    The file it was complaining about was a custom font in my css that was .WOFF2.

    In the .htaccess, I changed this line
    <FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|ttf|svg|eot)(\.gz)?$”>
    to
    <FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$”>
    and then re ran the speed test, and pingdom stopped complaining.

    https://ww.wp.xz.cn/plugins/wp-fastest-cache/

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

The topic ‘Woff2 compression?’ is closed to new replies.