What does a zipped html file using zlib (deflate) look like sitting on the server? Does it have a different extension than .html?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on your webserver settings, it is also possible to zip the html files in advance, in addition to having the webserver automatically zip them. Usually the extension is .gz, eg MyPage.html becomes MyPage.html.gz. With the right settings, if someone requests http://example.com/MyPage.html, and Apache sees MyPage.html.gz, and the client supports compression, it will instead serve the MyPage.html.gz version. The client will then transparently decompress the content, and the user will not even know or care that it was compressed (except maybe being slightly happier that the page loaded a fraction of a second faster)