Abstractly There are two entities on the internet. One is Client and another one is Server.
First the client(browser) sends a request to the server.
Server then check the request and send html file as response.
Browser starts parsing the HTML from top to bottom. When the parser sees the link tag for CSS it blocks the parsing process and starts downloading the CSS files. Then it starts parsing the CSS.
After the CSS parsing is completed, the parser starts parsing the html again. As the parser parsing the html, the browser dom gets pained with content. Also with styles. Because the CSS is already parsed. That is why we put the CSS link tag at the top part of the HTML.
After the parsing is completed, now the webpage is now both viewable and interactive.
Great SEO. Because the content is already present on the HTML.
Initial load is fast. Not the whole application data is not served by the browser. Only the necessary data for the page is sent.
No need of external libraries or frameworks.
Frequent server calls.
Slow navigation to any routes.
Page refresh while visiting any routes (not necessarily).
Bad user Experience when data changes frequently.
If you have any question, please put them on the comment box. I would love to hear from you. Also if you like this blog then give it a 💖 reaction. You can connect to me on any social media as @thatanjan .
My name is Anjan. I am a full stack web developer from Dhaka, Bangladesh.
I can create complex full stack web applications like social media application, blogging, e-commerce website and many more.
I love to solve problems and develop new ideas. I also enjoy sharing my knowledge to other people who are wiling to learn. That's why I write blog posts and run a youtube channel called Cules Coding
Instagram (personal): @thatanjan
Instagram (youtube channel): @thatanjan
Why would you subscribe to Cules Coding?
Cules Coding will teach you full stack development. I will teach you not only the basic concepts but also the advanced concepts that other youtube channels don't cover. I will also teach you Data Structures and Algorithms with abstraction and without Math. You will also find many tutorials about developer tools and technologies. I also explain advanced concepts and technologies with simplicity.
Subscribe to Cules Coding
so that my friend you don't miss any of these cool stuffs.