Home >Backend Development >PHP Tutorial >php的zlib.output_compression与nginx的gzip是什么关系?

php的zlib.output_compression与nginx的gzip是什么关系?

WBOY
WBOYOriginal
2016-06-06 20:26:251363browse

nginx的gzip可以用来压缩css、js、html等文件,但是php的这个压缩打开的话,当前访问所在页面的html文件会不会被压缩两次呢?

回复内容:

nginx的gzip可以用来压缩css、js、html等文件,但是php的这个压缩打开的话,当前访问所在页面的html文件会不会被压缩两次呢?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn