in Education by
What does the Minify set the encoding HTTP header? (a) deflate (b) gzip (c) both deflate and gzip (d) inflate I 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 Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
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.

Related questions

0 votes
    What does the Minify return back to the Script tag? (a) File I/O (b) Minify JavaScript (c) HTTP ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is in-built in the Minify? (a) Dynamic compression (b) Static compression (c) Static content ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What is the purpose of the product Minify? (a) Storing the data (b) Streamlining the data (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Which of the following is the order of Minify process? (a) Remove extraneous characters, gzip the response, ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Where does the DNS reply go to in a single HTTP redirect? (a) Browser (b) Client (c) Server (d ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    What does the browser do to set up a TCP/IP connection? (a) TCP one-way handshake (b) TCP two- ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    What type of protocol is HTTP? (a) stateless (b) stateful (c) transfer protocol (d) information ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following are the features of an HTTP request? (a) URL being requested (b) Optional ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which layer is used to handle the HTTP requests? (a) Network Layer (b) Transport Layer (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Why are HTTP redirects significant? (a) TCP connection available (b) Complete roundtrip absent (c) Complete ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which is the element that has a src property to initiate HTTP GET request? (a) img (b) iframe (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
0 votes
    How will the HTTP GET request be sent from the browser? (a) Remote server (b) Local server (c) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...