compress your html files with gzip. The following .htaccess config snippit tells your Apache webserver to serve the file ending in .gz. its only delivered if the requester accepts the gzip encoding. legacy browsers will get the uncompressed html file. So this assumes you have both files like index.html and index.html.gz on your server:
RewriteEngine on RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^(.*)$ $1.gz [L]
So your' minimal html wrap looks like this: