Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,991 members, 7,803,292 topics. Date: Saturday, 20 April 2024 at 01:13 PM

What Happens After You Type A URL Into A Web Browser? (A-Z) - Education - Nairaland

Nairaland Forum / Nairaland / General / Education / What Happens After You Type A URL Into A Web Browser? (A-Z) (559 Views)

Download A-Z Of Jamb’s Use Of English PDF / Scientist Deliberately Crashed This Aeroplane To Learn What Happens During Crash / How To Check JAMB Caps With Your Phone (any Web Browser). (2) (3) (4)

(1) (Reply) (Go Down)

What Happens After You Type A URL Into A Web Browser? (A-Z) by Ayodejioak(m): 7:20am On Nov 11, 2019
So I had a week of from my daily hustle and bustle and decided to pull in a number of resources on this.

Many people today go on the internet, type letter 'g' and the rest of the letters auto-populates and 2 seconds later, boom!

For educative purposes, this is a non-summarized version of the processes involved, so expect lots of technical lengthy definitions, but never mind, I took the time to explain to the reader like they're 5!



This article aims at addressing the age-old question: What happens after you type a URL into a web browser? The use case entails the background details of typing "google" in the address bar. Before we begin, it is ideal to note that ignoring the website's downtime, the average load time of any webpage is less than 2.9 seconds, leaving each of the processes highlighted below occurring in nanoseconds or less. This article covers an in-depth analysis of behind-the-scene activities from the point a user presses the "g" button up until a result displays on the screen.

User presses letter "g"
The moment the first letter in google (letter G) is pushed, the browser receives the input entry event, and an auto-complete function immediately kicks in. Depending on your browser's algorithm, various suggestions are presented to the end-user in the dropdown below the URL bar, varying from recently entered, web browser type, recently trending to most entered inputs. In this case, the auto-complete function completes the query to google.com.


The "enter" key bottoms up
Taking the point at which the "Enter" key on the keyboard hits the bottom of its range (called bounce) and debounce, an electrical circuit specific to the enter key is directly or capacitively closed. This closed-circuit allows the flow of minute current into the keyboard's logic circuit, which then scans the state of each key switch by debouncing the unique electrical noise generated from the switch's rapid intermittent closure. The electrical noise is converted into a keycode integer (in this case, 13), which is encoded by the keyboard controller for transport between the keyboard and the computer. The transmission channel, generally over a Universal Serial Bus (USB), can also be a Bluetooth connection, or legacy connectivity like PS/2 or ADB

IRQ signal
The moment the processor finds a closed circuit, it compares the location of the most recently closed circuit on the key matrix to the character map in its read-only memory (ROM). A character map, being a comparison chart or lookup table for each key encoding (UTF, ASCII…), signals the processor the position of each key in the matrix and what each keystroke or combination of keystrokes represents. The keyboard, exclusively reserved for interrupt request line (IRQ 1) sends signals on its IRQ, which maps to an interrupt vector by an interrupt controller. The computer then maps out the interrupt vectors to functions uses the Interrupt Descriptor Table (IDT) provisioned by the kernel. As the interrupt arrives, the kernel inputs when the CPU indexes the IDT with the interrupt vector and runs the appropriate handler.
---
As stated, due to the length of this writing, feel free to continue reading here: https://itblogr.com/what-happens-after-you-type-an-url-into-a-web-browser/
Thank me later. All protocols observed. CC Fynestboi, Richiez, olawalebabs
Re: What Happens After You Type A URL Into A Web Browser? (A-Z) by OlawaleBammie: 7:47pm On Dec 10, 2021
Ayodejioak:
So I had a week of from my daily hustle and bustle and decided to pull in a number of resources on this.

Many people today go on the internet, type letter 'g' and the rest of the letters auto-populates and 2 seconds later, boom!

For educative purposes, this is a non-summarized version of the processes involved, so expect lots of technical lengthy definitions, but never mind, I took the time to explain to the reader like they're 5!



This article aims at addressing the age-old question: What happens after you type a URL into a web browser? The use case entails the background details of typing "google" in the address bar. Before we begin, it is ideal to note that ignoring the website's downtime, the average load time of any webpage is less than 2.9 seconds, leaving each of the processes highlighted below occurring in nanoseconds or less. This article covers an in-depth analysis of behind-the-scene activities from the point a user presses the "g" button up until a result displays on the screen.

User presses letter "g"
The moment the first letter in google (letter G) is pushed, the browser receives the input entry event, and an auto-complete function immediately kicks in. Depending on your browser's algorithm, various suggestions are presented to the end-user in the dropdown below the URL bar, varying from recently entered, web browser type, recently trending to most entered inputs. In this case, the auto-complete function completes the query to google.com.


The "enter" key bottoms up
Taking the point at which the "Enter" key on the keyboard hits the bottom of its range (called bounce) and debounce, an electrical circuit specific to the enter key is directly or capacitively closed. This closed-circuit allows the flow of minute current into the keyboard's logic circuit, which then scans the state of each key switch by debouncing the unique electrical noise generated from the switch's rapid intermittent closure. The electrical noise is converted into a keycode integer (in this case, 13), which is encoded by the keyboard controller for transport between the keyboard and the computer. The transmission channel, generally over a Universal Serial Bus (USB), can also be a Bluetooth connection, or legacy connectivity like PS/2 or ADB

IRQ signal
The moment the processor finds a closed circuit, it compares the location of the most recently closed circuit on the key matrix to the character map in its read-only memory (ROM). A character map, being a comparison chart or lookup table for each key encoding (UTF, ASCII…), signals the processor the position of each key in the matrix and what each keystroke or combination of keystrokes represents. The keyboard, exclusively reserved for interrupt request line (IRQ 1) sends signals on its IRQ, which maps to an interrupt vector by an interrupt controller. The computer then maps out the interrupt vectors to functions uses the Interrupt Descriptor Table (IDT) provisioned by the kernel. As the interrupt arrives, the kernel inputs when the CPU indexes the IDT with the interrupt vector and runs the appropriate handler.
---
As stated, due to the length of this writing, feel free to continue reading here: https://itblogr.com/what-happens-after-you-type-an-url-into-a-web-browser/
Thank me later. All protocols observed. CC Fynestboi, Richiez, olawalebabs
hello baba, pls we hav a talk
Re: What Happens After You Type A URL Into A Web Browser? (A-Z) by Ayodejioak(m): 6:32am On Dec 26, 2021
OlawaleBammie:
hello baba, pls we hav a talk


Right here. What's the deal?
Re: What Happens After You Type A URL Into A Web Browser? (A-Z) by OlawaleBammie: 6:56am On Dec 26, 2021
Ayodejioak:


Right here. What's the deal?
Tank u boss

Pls its about web development and cyber security, i love the two by i love CS more, but i have no prior knowledge about the two as i am a newbie in the world of IT.

Sir pls how do u tink i can make it to become a cs.

Pls i really need ur answers sir.
Re: What Happens After You Type A URL Into A Web Browser? (A-Z) by Superzee1443: 9:30pm On Dec 30, 2022
Hello @ayodejioak, sorry my message is not related to the trend. I am a Chartered Accountant thinking of switching career to cyber security in the UK and I need your advice on how to go about the learning and mentoring.

Kindly advice on this.
My email superzee1443@gmail.com, looking forward to hear from you soon.

(1) (Reply)

. / How Long Is The Duration Of Phd Program In Nigeria Vs Abroad / Predictions On How The Covid-19 Pandemic Will End

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.