压缩 WebP 图像后启用 gzip 压缩是否仍然相关?
就我而言,我使用 express
压缩中间件。
最佳答案
雅虎建议反对:
Image and PDF files should not be gzipped because they are already compressed. Trying to gzip them not only wastes CPU but can potentially increase file sizes.
https://developer.yahoo.com/performance/rules.html
这可能会有所帮助:https://webmasters.stackexchange.com/questions/8382/gzipped-images-is-it-worth
关于node.js - 我应该为 WebP 图像启用 GZIP 压缩吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46662089/