CakeFest 2024: The Official CakePHP Conference

简介

该模块能够无障碍地读写 gzip 压缩过的文件,使用大多数 filesystem 函数的版本,与 gzip 压缩文件(以及未压缩的文件,但不能与 socket 一起使用)一起使用。

注意:

PHP 还有用于 .gz 文件的 fopen 封装协议。有关 zlib:// 的部分提供了更多信息。

add a note

User Contributed Notes 1 note

up
-6
Anon
4 years ago
This introduction is incomplete because it lacks the information that the module can be used to use HTTP gzip compression with the 'zlib.output_compression' and 'zlib.output_compression_level' configuration settings.

Please be aware that cross-site scripting should be disabled when using HTTP compression because of possible BREACH attacks.
To Top