ExamVeda
Login
Home
51
What is the purpose of the product Minify?
Discuss
Answer & Solution
Answer: Option C
Solution:
Minify proxies the JavaScript file;the script tag on the page points to Minify, which is a PHP file.
52
What does the Minify set the encoding HTTP header?
Discuss
Answer & Solution
Answer: Option C
Solution:
Minify reads the JavaScript file in, minifies it and when it responds it sets the accept encoding HTTP header to gzip, deflate.
53
What is in-built in the Minify?
Discuss
Answer & Solution
Answer: Option B
Solution:
Effectively Minify has built in HTTP static compression. This is especially useful if your web host doesn’t allow the gzipping of static content.
54
Which folder contains the Minify control panel?
Discuss
Answer & Solution
Answer: Option A
Solution:
To navigate to the Minify control panel, it is located in the /min/builder/.
55
Which of the following is the order of Minify process?
Discuss
Answer & Solution
Answer: Option C
Solution:
Minify reads in the content, decorates it by way of removing extraneous characters, and gzips the response.
56
YUI Compressor is analogous to
Discuss
Answer & Solution
Answer: Option A
Solution:
Just like Minify, YUI Compressor strips out all of the unnecessary characters from your JavaScript, including spaces, line breaks, and comments.
57
What type of file is YUI Compressor?
Discuss
Answer & Solution
Answer: Option B
Solution:
YUI Compressor is a jar file and runs from the command line. Because of this it is easily integrated into a build process. It looks like this:
java -jar yuicompressor-[version].jar [options] [file name]
58
What is the function of a Closure Compiler?
Discuss
Answer & Solution
Answer: Option C
Solution:
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).
59
What is scorched-earth optimizations?
Discuss
Answer & Solution
Answer: Option B
Solution:
Closure Compiler runs through a number of “scorched-earth” optimizations—it unfurls functions, rewrites variable names, and removes functions that are never called (as far as it can tell).
60
The Closure Compiler was introduced by
Discuss
Answer & Solution
Answer: Option C
Solution:
The Closure Compiler was introduced by Google.