1.

What does the Minify set the encoding HTTP header?(a) deflate(b) gzip(c) both deflate and gzip(d) inflateI had been asked this question by my college director while I was bunking the class.Question is taken from JavaScript Minification topic in chapter Performance Measures in JavaScript of JavaScript

Answer»

Correct option is (c) both deflate and GZIP

The best I can explain: MINIFICATION refers to the process of removing unnecessary or redundant data without AFFECTING how the resource is processed by the browser. Minify reads the JavaScript file in, MINIFIES it and when it responds it sets the accept encoding HTTP header to gzip, deflate.



Discussion

No Comment Found

Related InterviewSolutions