September 2, 2019 at 6:11 pm #1133085
We uploaded custom TTF fonts using the custom font uploader.
These work great but WebPageTest.org complains they are not compressed:
“Use gzip compression for transferring compressable responses:
FAILED – (146.4 KB, compressed = 54.0 KB – savings of 92.4 KB) – https://www.domain.com/wp-content/uploads/avia_fonts/type_fonts/galaxie-light/galaxie-light.ttf
FAILED – (132.8 KB, compressed = 46.8 KB – savings of 86.0 KB) – https://www.domain.com/wp-content/uploads/avia_fonts/type_fonts/itcavantgardepro-bk/itcavantgardepro-bk.ttf
FAILED – (51.9 KB, compressed = 23.8 KB – savings of 28.1 KB) – https://www.domain.com/wp-content/uploads/avia_fonts/type_fonts/itcavantgardepro-light/itcavantgardepro-light.ttf”
What is the best practice to gzip these fonts?
Thanks!September 2, 2019 at 6:28 pm #1133089
it would be better to see your live-page
i have my entries for that in the invisible .htaccess file (in the root directory of the installation)
for older server is gzip and newer ones mod_deflate:
Thanks Guenni007. That is apparently what needs to be done on Apache.
For nginx (mine) here are the instructions:
However my host says this is already enabled on my server. They also say their other testing shows gzip working for the fonts.
So I’m really confused why WebPageTest says it’s not working.September 2, 2019 at 11:55 pm #1133138
You must be logged in to reply to this topic.