9/7/2023 0 Comments Cdn substack![]() ![]() The shorter physical distance that the content has to travel speeds up load times, and the pre-built files save the original web server from having to deal with request logic again.Īn origin server is the core web server that an app or site uses to respond to requests and build web pages. Location – servers can be very far away, and data takes time to travelĬaching helps solve these problems by storing readily available files (pre-made web pages, images, etc.) on special servers that are closer to an app’s end users. Logic – there are a steps along the way to getting a web page loaded If you think about it, you can break down these “speed problems” into two core issues, which both conveniently start with the letter L: Each one of these steps takes time (usually a few hundred milliseconds), and when servers are far away, those steps can really add up. That’s already a lot, and we haven’t even covered protocol procedures like TCP handshakes. ![]() Server sends back assets (webpage, images, etc.) to clientĬlient’s browser renders the page and assets Server figures out what to send back to the client (query databases, etc.) Let’s break it out:Ĭlient makes a request to the server (i.e. But if you think about all of the stuff that needs to happen between you typing into your browser and you actually seeing your email, it’s a complete miracle that it happens so fast – almost always in less than a second. Nobody likes a slow web page (well, nobody that I know). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |