1.

What is the work of Gzip compression?(a) compresses an image(b) compresses web pages only(c) compresses JavaScript and CSS code only(d) compresses web pages, JavaScript and CSSThis question was addressed to me in an international level competition.My question is based upon Web Performance Optimization in chapter HTML Images & Web Page Files of HTML

Answer» RIGHT answer is (d) compresses web pages, JavaScript and CSS

The BEST explanation: Basically GZIP compression is used to compress text DATA in websites. Gzip compression is very useful in web performance optimization. It compresses web pages, JavaScript and CSS. Gzip is also one of the file formats. Gzip compression can be enabled via webserver configuration. Common webservers where it can me make enable is .htaccess, Nginx, Apache and Litspeed.


Discussion

No Comment Found

Related InterviewSolutions