Recently, I enable the Gzip compression module for resources access on a server manually. Most files have gotten smaller as expected, but there is a file format that is not smaller but larger – .woff font. When I enable the Gzip module, a .woff file size with 3.2 KB. Conversely, it is only 2.1KB normally. Why do this happen?
>Solution :
You cannot compress every kind of data.
Compression usually adds some overhead. But it also removes redundancy. So if you have a file that doesn’t have enough redundancy, the achieved compression cannot make up for the overhead introduced by the compression format.
WOFF is a compressed file type. So redundancy has already been removed.