Network Optimizations
Website speed is a crucial factor in its perceived quality! Let's study how to maximize speed in this lesson by optimizing our network settings.
Reduce time to first byte
In addition to the amount of time it takes for your page to fully load, you’ll also want to take a look at the amount of time it takes to start loading.
Time to first byte, or TTFB, is the amount of time a browser has to wait before getting its first byte of data from the server. Google recommends a TTFB of less than 200 ms.
Here’s a snapshot of the ‘timings’ tab that gets shown when a response file on the network tab of devtools is clicked. It shows a website that has an excessive TTFB.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.