The URL Process

So you’ve clicked on a link and entered a URL, what actually is the process behind it though?

So you’ve entered a URL into the address bar, from when you enter the browser resolves this to the numerical IP address which will require a trip out to a DNS server or it can be cached by the OS. Then the browser will issue a “HTTP/Get request. It passes along a Http request which will include meta data about the browser, user preferences such as the preferred language and stored cookies for that domain. Once that is complete the host / website servers receive the request and their code will begin to assemble a response. Next a HTTP response is returned by the website which is made up of the Headers and the HTML body. As it proceeds the browser receives the response and begins to parse it for display. With in this, it will need to send additional calls back to the servers to retrieve the bits for the HTML body that includes links to CSS, Javascript and the images. The browsers layout engine will begin to assemble the page for it to be displayed and then rendered complete to the end user once assembled.

PHP makes this process much simpler and easy as it allows for server sided renditions for the end user. This allows for higher speeds as it uses its own memory so the workload of the server loading time gets reduced automatically. PHP is also the most secured way for developing websites as it has a built in security layer to protect against threats and viruses. Furthermore it is platform independent meaning whether it is MacOS, Windows or Linux, it supports all the major web browsers. Finally for PHP the main benefit is through the control while other languages of code need long scripts PHP allows for the same work to be done in a matter of a few lines, which also makes it extremely easy to edit.

In conclusion, the combination between the technology is so important as it allows for websites to be adaptable in a matter of no time being able to change complete formats and layouts with as little as changing a few lines of code.

Further information:

Top 10 benefits using PHP web development
What happens when you click a link?
PHP is better thank you think


What happens when you enter a URL
Steps of a URL process

posted on Monday, May 8th, 2017 at 3:50 am filed under Articles, Featured, Web Development.