ItecSoftware Logo

Optimize Page Load Time with Gzip Compression

gzip compression html css

HTML, CSS and Javascript compression is a simple and effective way to save bandwidth and optimize page load time on your site. It’s often overlooked and yet simple to implement, just enable gzip compression for the right document types and enhance your site’s user experience.

In Apache, we achieve this by enabling content encoding. When a user requests a file like http://www.msn.com/index.html, the browser communicates to a web server, and the conversation goes a something like this:

1. Browser: GET me /index.html 2. ...

read more

Listed in Web Development

Tags: compression, DEFLATE, gzip, headers, mod_deflate