Discover and read the best of Twitter Threads about #failedinterview

Most recents (1)

Got a question in one of the interviews about how does HTML page load, as in, how the resources are actually being fetched from top to bottom and their execution?

Starting a thread about it here.

#FailedInterview #javascript #html
Not all resources in the HTML are blocking.

For example, CSS and other static assets are non-blocking.

However, JavaScript is blocking unless it's used with async or defer.
This whole process is all about two things, "Fetching" and "Parsing".

The browser fetches the resource first and then start the parsing.

However, fetching and parsing happens in parallel for multiple resources.
Read 10 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!