课程: Micro Front-End Architecture with React

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Server Side Includes (SSI)/Client-side integration

Server Side Includes (SSI)/Client-side integration - React.js教程

课程: Micro Front-End Architecture with React

Server Side Includes (SSI)/Client-side integration

- [Instructor] Includes are essential techniques for building micro frontend applications. They allow teams to assemble various frontend components into a cohesive application, leverage both server-side and client-side processing. In Server-Side Includes approach, the server is responsible for putting together the micro frontend before delivering the fully assembled HTML to the client's browser. This means that when a user requests a page, the server dynamically includes the necessary fragments and SSI directives looks like this code. The server replaces this directive with the contents from the specified URL before sending the complete page to the client. This process enables quick page load times and better SEO since the HTML is fully rendered when it switches the browser. On the other hand, Client-Side Integration delegates the composition of micro frontends to the client browser. Here, the client is responsible for fetching, loading and rendering each micro frontend component…

内容