You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Steffen <in...@apachelounge.com> on 2017/04/26 12:19:02 UTC
mod_brotli on windows custom log
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"
Re: mod_brotli on windows custom log
Posted by Eric Covener <co...@gmail.com>.
On Wed, Apr 26, 2017 at 8:19 AM, Steffen <in...@apachelounge.com> wrote:
> BrotliFilterNote ratio
> DeflateFilterNote ratio
You should (must) pick different parameters here.
--
Eric Covener
covener@gmail.com