how the web works Flashcards

1
Q

URL

A

uniform Resource locator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Resources

A
web pages
images
Video files
fonts
etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

WHen you enter the URL and hit ENTER

A

client - the browser which has actually hit the URL
server - where our website resides
This request which goes from client to server is thought http protocol
hyper text transfer protocol
Its a protocol which client and server use to talk to each other
HTTPs - HTTP with encryption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTTP request example

A

GET index.html page with HTTP protocol 1.1
HOST: www.codewithmosh.com
Accept-Language: en-US

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTTP response example

A

HTTP 1.1 200 ok
Date : 1 jan 2021
Content type : text/html


How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does browser do after getting the response

A

It forms Document Object MOdel or DOM

This model represents the elements of an HTML page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Next Step

A

Browser checks for external resources required
and makes another api calls to get the resources
these request is sent in parallel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Rendering

A

once all the resources we recieve, browser renders the page which means it displays it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly