Question: how does gz file work?
Answer: gzip files contain useful information such as the original file name and timestamp, which is handy when a compressed file name has been truncated or the timestamp lost when the file was transferred. GZ compression is often used to compress some elements of web pages to speed up page loading.