We use browsers every day, and we’re probably going to use them for a long time. Is there anything that we, developers, can do to make them work better for us?
As developers, we have the responsibility to give people the best experience they can have when they browse our website. It’s not uncommon these days for companies to rise and fall on bad user experience or slow and unresponsive websites. We live in a time where each service has multiple competitors, just waiting for someone to make a small mistake and steal his market share. Usually, the small and annoying mistakes developers do, have the worst impact on their clients, and those mistakes lead to clients switching services, based on a single bad experience.
This post will cover how browsers render web pages, I’ll explain the detailed flow from the time you request a page until it renders on your screen. Understanding this process allows you to write better code which will run smoother on your client’s machine.