apache mod_deflast mod_gzip
라즈베리에서 아파치 돌리는데 기본으로 mod_deflate가 활성화 되어 있는 것으로 보이네..
[링크 : http://extrememanual.net/4252]
아래는 제대로 압축을 수행중인지 확인하는 링크
gzip 확인은 실패하네.. 머지?
[링크 : http://tecadmin.net/how-to-enable-gzip-compression-on-apache/]
[링크 : https://checkgzipcompression.com/]
[링크 : http://www.whatsmyip.org/http-compression-test/]
+
ssl 적용해놨지만 인증서가 사설이라 --no-check-certificate를 해줘야 받아온다. ㅠㅠ
아무튼 받아온걸 file로 확인해보면 압축된 녀석 흐음..
$ wget --no-check-certificate --header="Accept-Encoding: gzip" https://localhost/php_test/phpinfo.php --2017-01-23 15:40:12-- https://localhost/php_test/phpinfo.php Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:443... connected. WARNING: The certificate of ‘localhost’ is not trusted. WARNING: The certificate of ‘localhost’ hasn't got a known issuer. The certificate's owner does not match hostname ‘localhost’ HTTP request sent, awaiting response... 200 OK Length: 24808 (24K) [text/html] Saving to: ‘phpinfo.php’ phpinfo.php 100%[===============================================>] 24.23K --.-KB/s in 0.007s 2017-01-23 15:40:12 (3.63 MB/s) - ‘phpinfo.php’ saved [24808/24808] $ file phpinfo.php phpinfo.php: gzip compressed data, from Unix |
[링크 : https://forum.ivorde.com/wget-error-error-the-certificate-of-is-not-trusted-t19611.html]
+
표준상으로는 compress, gzip 정도 밖에 안되는건가?
[링크 : https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html]