enable gzip compression
refactor gzip compression configuration + add head comments