Compressed Gzip Data Stream

TUX is now able to send compressed (gzip) data. This has the potential to decrease the amount of data the Web server sends to the client browser and decrease the browser's load time.

By default, this data compression is disabled. To enable it, add the following line to /etc/sysctl.conf:

The Gzip file with the extension .gz must be in the same directory as the uncompressed versions of the pages you wish to serve. All of the following conditions must be true for TUX to send the .gz file. Otherwise, the original file(s) are sent.


A cron job can be created to generate a new gzip file from the latest uncompressed data in each directory.