Set a “Vary: Accept-Encoding” header to woff2 files

I was running speed tests with Pingdom and got the recommendation to set a Vary:Accept-Encoding header on a woff2 file. After a lot of reading and trying different snippets in .htaccess, I finally managed to get it working using this: AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml x-font/otf x-font/ttf x-font/eot x-font/woff x-font/woff2 Header set […]

Read more »