Serving a website from the CDN

As an industry, we have a tendency to create very dynamic websites, even when the content does not change frequently. Some Content Management Systems (CMS) recalculate content for every request, even when the content has not changed. These requests pass through multiple layers, read from the database, and then calculate and return the response. It is not uncommon to see average response times in the range of five seconds. It is said that doing the same thing over and over again and expecting a different result is the definition of insanity.

Cloud-native systems take an entirely different approach to creating websites. JAMstack (https://jamstack.org) is a modern, cloud-native approach based on client-side JavaScript, ...

Get JavaScript Cloud Native Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.