Categories: Windows

Doing CHACHA and Brotli with Apache 2.4 on Windows.

Update information      Edit(May 2)

   Last October, I wrote “CHACHA20 Apache official version already supports but Apache Lounge version 2.4.23, which is my server current version, hasn’t yet“. On April 19, Steffen announced Apache 2.4.26-Dev available with Openssl 1.1.0e VC14. So, we can use CHACHA20_POLY1305 in the Windows version Apache now. For enabling the cipher you need to add CHACHA20-POLY1305 things to the SSLCipherSuite of the httpd-ssl.conf and reboot the Apache.

   On April 26, Steffen said he built Apache 2.4.26 with VC15 and there is the new module mod_brotli. Wow! He is a hard worker! Thanks! You can download this version from here. This version was built with VC15, so you need the latest C++ Redistributable Visual Studio 2017 : vc_redist_x64 or vc_redist_x86.

   I commented out the old setting for DEFLATE and added the new for BROTLI_COMPRESS;DEFLATE, and loaded mod_brotli in the conf file. Reboot the Apache.

   The results are here:

Edit(May 2):

   After moving to the Brotli compression, I feel my site display speed is faster than before. So I took benchmarks about two test files by cURL. Actually the result tells us the same as my feeling.
curl.exe -k -O https://test.o6asan.com/test1.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 261 100 261 0 0 3346 0 --:--:-- --:--:-- --:--:-- 3346

curl.exe -k -H "Accept-Encoding:gzip" -O https://test.o6asan.com/test1.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 204 100 204 0 0 2615 0 --:--:-- --:--:-- --:--:-- 2615


curl.exe -k -H "Accept-Encoding:br" -O https://test.o6asan.com/test1.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 147 100 147 0 0 1884 0 --:--:-- --:--:-- --:--:-- 1884

 
 
 
curl.exe -k -O https://test.o6asan.com/test2.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 90304 100 90304 0 0 938k 0 --:--:-- --:--:-- --:--:-- 938k


curl.exe -k -H "Accept-Encoding:gzip" -O https://test.o6asan.com/test2.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9536 100 9536 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k

curl.exe -k -H "Accept-Encoding:br" -O https://test.o6asan.com/test2.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8369 100 8369 0 0 89031 0 --:--:-- --:--:-- --:--:-- 89031

o6asan

Recent Posts

Very easy, sweet potato yōkan recipe.

The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…

1 year ago

On my home network, I’ve built an FTP server that I left for long time.

After a long time, when I checked broken links and fixed them, I got an…

3 years ago

Moving “o6asan’s BBS”.-#2

I made a box, so I prepare the contents. Theme and Plugins. The theme is…

3 years ago

Moving “o6asan’s BBS”.

Hehe, it's been almost a year since my last post. I received a notification email…

3 years ago

I completed my WordPress to Sub-domain.

About a week ago, I finally started to renew my sites, which I had been…

4 years ago

Happy New Year!

   Happy New Year! It is the beginning of a new year.    This is a year…

6 years ago

This website uses cookies.