ZenCart-开启关闭gzip,响应头对比,有什么变化

开启Gizip,响应头如下

HTTP/1.1 200 OK
Date: Wed, 25 Dec 2019 02:22:38 GMT
Server: Apache/2.4.41 (Win64) PHP/7.3.12
X-Powered-By: PHP/7.3.12
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 508
Keep-Alive: timeout=5, max=97
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8


$request_type:NONSSL<br />$PHP_SELF:/ZenCart156cDev/default.php<br />$extra_datafiles_directory:E:/wamp64/www/ZenCart156cDev/includes/extra_datafiles/<br />$ws_extra_datafiles_directory:includes/extra_datafiles/<br />Array
(
    [0] => includes/classes/observers/auto.downloads_via_aws.php
    [1] => includes/classes/observers/auto.downloads_via_redirect.php
    [2] => includes/classes/observers/auto.downloads_via_streaming.php
    [3] => includes/classes/observers/auto.downloads_via_url.php
)
<br />

注意:Vary: Accept-Encoding

关闭之后,响应头如下

HTTP/1.1 200 OK
Date: Wed, 25 Dec 2019 02:19:20 GMT
Server: Apache/2.4.41 (Win64) PHP/7.3.12
X-Powered-By: PHP/7.3.12
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Length: 508
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8


$request_type:NONSSL<br />$PHP_SELF:/ZenCart156cDev/default.php<br />$extra_datafiles_directory:E:/wamp64/www/ZenCart156cDev/includes/extra_datafiles/<br />$ws_extra_datafiles_directory:includes/extra_datafiles/<br />Array
(
    [0] => includes/classes/observers/auto.downloads_via_aws.php
    [1] => includes/classes/observers/auto.downloads_via_redirect.php
    [2] => includes/classes/observers/auto.downloads_via_streaming.php
    [3] => includes/classes/observers/auto.downloads_via_url.php
)
<br />