a structure that determines the way your product and business will operate, perform and scale.
The difference between CSR and SSR is that wich side(client or server) is responsible for rendering the web page.
what is rendering?
the process of converting application code into interactive web pages
📍 CSR : it’s the browser that generates the entire app, including the UI, data, and functionality.
The client recieves empty HTML(Shell), CSS and Javascript bundle from front server. And sends request to back server for data while the web page is loading.
👍 pros :
→ no need to reload pages
👎 cons :
→ The browser needs to download and run the whole JS includes frameworks and library
→ Bots will only see empty HTML
💡 solutions:
📍 SSR : it’s the server that generates static HTML. The client receives fully rendered HTML page.
👍 pros :
👎 cons :
→ TTV < TTI
🪜 SSR Steps
TTV(Time To View) refers to how much time it takes for users to see the rendered web page.
TTI(Time To Interact) refers to how much time it takes the JS file to be loaded so users can interact with web page.
In CSR, users can’t see or interact with web page until all JS files are loaded. Therefore, TTI and TTV is same. Otherwise, in SSR, users are able to see the web page but it takes some time for users to interact with the page. Thus TTV is longer than TTI.
The answer is NO. The difference between MPA / SPA is how many pages the web app uses. Otherwise, the difference between CSR / SSR is where the web page is rendered. Therefore, the relationship is not an equal sign.
SSR supports MPA for showing multiple pages to users, and SPA is based on CSR for intracting with users on a sigle page.
CRS is suited for the web page which requires high interactivity with users and the contents changes frequently.
SSR can be implemented in web app that is static and contains heavy contents. Moreover, SSR is better choice when SEO is important element for web app
For example, if you ask about enhancing your Fiverr profile, I can provide tips based on best practices in digital marketing and freelance success. If you’re working on creative writing, I can offer techniques that align with successful writing strategies. Best crypto casinos
For example, if you ask about enhancing your Fiverr profile, I can provide tips based on best practices in digital marketing and freelance success. If you’re working on creative writing, I can offer techniques that align with successful writing strategies. Best crypto casinos
Excellent breakdown of CSR and SSR in web architecture! For a more comprehensive look at web application architecture and how these techniques fit into the bigger picture, you might find this guide helpful: https://www.cleveroad.com/blog/web-application-architecture/. It offers valuable insights into optimizing performance and scalability.