Zlib zip html page file extension?

What makes a zipped html file using zlib (deflate) look like sitting on a server? Does it have a different extension than .html?

+2
source share
2 answers

Depending on the settings of your web server, it is also possible to pre-attach the html files, in addition to the fact that the web server automatically zips them. Usually the extension is .gz, for example MyPage.html becomes MyPage.html.gz. With the right settings, if someone asks for http://example.com/MyPage.html and Apache sees MyPage.html.gz and the client supports compression, they are instead used for the MyPage.html.gz version. Then, the client will transparently decompress the content, and the user will not even recognize and take care that it is compressed (except, maybe a little happier, that the page loads a split second faster)

+2
source

You have an extension that you downloaded using.

: - html-, " ", , , -, -, , .

, " ", .htm .html.

+2

All Articles