Building High Performance Web sites
For a lot of sites this doesn’t matter, but for sites where the user’s first impression is critical, this pause can put off a lot of users. For example e-commerce or a news site.
- Isomorphic Web pages are pre-rendered in HTML for fast load times. Rendering is not interrupted by AJAX calls typical in Single Page Apps.
- It is simpler to cache plain html pages from a CDN to handle spikes in load.
Search Engine Optimization (SEO):
- Pages are easier to crawl by search engines.
- Faster page load results in better page ranking
The browser can quickly display pre-rendered HTML
The load balancer divides load between multiple application servers. AJAX calls can go direct to the App Server layer.
Middle layer performs transformations and aggregates on the data. A Back end for front end. Renders HTML from resulting JSON data
Application Server makes REST calls to Microservices API for transactional and reference business data. Commonly a CaaS enabled CMS is used to host layout, static and authored content.