httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steffen <i...@apachelounge.com>
Subject mod_brotli on windows custom log
Date Wed, 26 Apr 2017 12:19:02 GMT

 Added mod_brotli  to the 2.4.26-Dev with Apr & Apr-utit 1.6.0 and 
openssl 1.1.0e

See https://www.apachelounge.com/viewtopic.php?p=35266#35266

With the help of Gregg.


Noticed the following:

Have:


SetOutputFilter BROTLI_COMPRESS;DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpg|png|zip|pdf|rar|asc|js|css)$ 
no-gzip no-brotli dont-vary


BrotliFilterNote ratio
LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' brotli
CustomLog "d:/log/apache/brotli.log" brotli

DeflateFilterNote ratio
LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
CustomLog "d:/log/apache/deflate.log" deflate

In both logs deflate and brotli the log line are all the same, so we 
cannot see the diff between gzip and br.

Is this by design ?

brotli:
"GET /download/VC11/ HTTP/1.1" 4944 (30) "Mozilla/5.0 (Windows NT 6.1; 
WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"

"GET /robots.txt HTTP/1.1" 156 (47) "ltx71 - (http://ltx71.com/)"
"GET /viewtopic.php?p=3211 HTTP/1.1" 5844 (22) "Mozilla/5.0 
(compatible; YandexBot/3.0; +http://yandex.com/bots)"
"GET /images/ne.gif HTTP/1.1" 890 (-) "Mozilla/5.0 (Windows NT 6.1; 
WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"
"GET /download/win64/ HTTP/1.1" 4481 (29) "Mozilla/5.0 (Windows NT 
10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"

deflate:

"GET /download/VC11/ HTTP/1.1" 4944 (30) "Mozilla/5.0 (Windows NT 6.1; 
WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"
"GET /robots.txt HTTP/1.1" 156 (47) "ltx71 - (http://ltx71.com/)"
"GET /viewtopic.php?p=3211 HTTP/1.1" 5844 (22) "Mozilla/5.0 
(compatible; YandexBot/3.0; +http://yandex.com/bots)"
"GET /images/ne.gif HTTP/1.1" 890 (-) "Mozilla/5.0 (Windows NT 6.1; 
WOW64; rv:47.0) Gecko/20100101 Firefox/47.0"
"GET /download/win64/ HTTP/1.1" 4481 (29) "Mozilla/5.0 (Windows NT 
10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/57.0.2987.133 Safari/537.36"






Mime
View raw message