The Web started as static web sites that served static HTML documents. The HTML documents contained hyperlinks to other documents distributed on web servers all over the world. Later, the web sites became web applications when web servers could generate dynamic content based on the user navigation and input. These web servers use a server-side technology, such as ASP, JSP, or PHP, to retrieve and update data from and to databases and generate HTML dynamically. This is called traditional server-side rendering (SSR).
Traditional SSR has the problem that every user interaction ...