Wordpress LScache Plugin: TTF file isnt compressed
Last Updated on: Wed, 15 Apr 2026 00:00:02 I cant get a TTF file to be compressed. Not by brotli, neither by GZip. The content-type of this TTF file is application/font-sfnt, as shown in DevTools. It is Ive tried to add this code to both htacess files, of LSCache and of WordPress (one by one, not simultanously) ? but both didnt work for me: AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/font-sfnt How can I activate compression for TTF file? Got it. Added to htaccess AddType x-font-ttf ttf AddType font/ttf ttf AddType font-sfnt ttf Brotli works.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference