Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You decide to store data in the user\'s browser in order to reduce the amount of

ID: 3806934 • Letter: Y

Question

You decide to store data in the user's browser in order to reduce the amount of data that must be downloaded. What is this process called?

Caching.

Latency.

Performance testing.

Auditing.

How does compression reduce latency?

By reducing the amount of data that must be transferred over the Internet.

By storing data on the user's computer.

By causing JavaScript to be loaded after the page first displays.

By reducing the number of files that must be transferred over the Internet.

What effect does splitting a single JavaScript file into multiple files have?

It has no effect on latency.

It increases latency.

It decreases latency.

It causes the JavaScript to load after the browser displays the page.

Explanation / Answer

1) caching is the process of storing the data in user's browser  in order to reduce the amount of data that must be downloaded

2) How does compression reduce latency

compression means reducing the size of the file(any file whether data, video or audio)

so option 1 is correct

by reducing the amount of data that must be transferred over the Internet.

3) What effect does splitting a single JavaScript file into multiple files have?

it will increase latency since it will take more time load several smaller files than a large one

The java scripts files are executed in the order, so with several smaller files we have created we ill have load - run - load - run cycle, where each file can't be loaded until the previos has run

java scripts run in the order , so if one javascript file depends on another, they have to be in the right order.

so it increases latency

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote