1.

Which of the following is the order of Minify process?(a) Remove extraneous characters, gzip the response, Read(b) Remove extraneous characters, Read, gzip the response(c) Read, Remove extraneous characters, gzip the response(d) Read, gzip, extract, removeI have been asked this question by my school teacher while I was bunking the class.I want to ask this question from JavaScript Minification topic in division Performance Measures in JavaScript of JavaScript

Answer»

Correct answer is (c) Read, Remove extraneous characters, gzip the response

Easy explanation: To MINIFY JS, CSS and HTML files, COMMENTS and EXTRA spaces need to be removed, as well as crunch variable names so as to minimize code and reduce file size. Minify reads in the CONTENT, decorates it by way of removing extraneous characters, and gzips the response.



Discussion

No Comment Found

Related InterviewSolutions