How to disable Apache gzip compression for some media files in .htaccess file?

后端 未结 6 707
旧巷少年郎
旧巷少年郎 2020-12-09 10:02

I would like to disable gzip compression for some media files which are already compressed on an Apache server via the .htaccess file.
Reas

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 10:35

    this seems outdated : https://www.varnish-cache.org/docs/3.0/tutorial/compression.html#gzip-and-esi

    GZIP and ESI

    If you are using Edge Side Includes you'll be happy to note that ESI and GZIP work together really well. Varnish will magically decompress the content to do the ESI-processing, then recompress it for efficient storage and delivery.

提交回复
热议问题