Native cloud CMS integration with CDN

Particular Challenges for the Jamstack Approach

The transition from the server-oriented LAMP stack approach to the new Jamstack approach has proven to be a practicable concept. In recent years, a large number of Jamstack web projects have been implemented. The concept applies to smaller websites as well as complex web applications with thousands of pages. However, this conversion process should not be underestimated, because a completely new architecture is used.

Stepping into a New Development Environment

The switch to Jamstack is initially associated with a degree of uncertainty. A new development paradigm is being introduced, with new rules and new processes. This conversion usually takes a number of months and initially requires operating parallel structures. However, this is nothing new for IT, and there are extensive best practices available for such a process. Additionally, as the process is better understood, the conversion speeds up drastically, saving vast amounts of time in the end.

Bezos's “API Manifesto”

An internal email written by Jeff Bezos1 in 2002 is legendary: all of the teams at Amazon received the binding instruction to make their data and functions available only via service interfaces in the future. Without exception. The transition to these formal APIs made life difficult for employees in the short term. However, Amazon was able to operate its systems much more efficiently and it enabled, for example, the launch of publicly available Amazon Web Services.

Know-How and Change Processes

The construction of the new architecture means that new know-how about JavaScript, APIs, microservices, etc. is also required by employees. The existing, familiar system architecture is to be replaced by a future-oriented cloud alignment.

Communicate with Web APIs

Using Jamstack means that every piece of information must be available via an API. In a traditional web server environment, a program running in a standard browser would not have the ability to communicate with a web API outside its own domain. Only with the availability of full-featured JavaScript frameworks and new standards such as authorization and stateless authentication was it possible to reach any modern web API from any JavaScript client. This includes, for example, the RESTful API for communication between different services.

Authentication, Authorization, and Accounting (AAA)

A key to new and secure client-side authentication is the enforcement of the OpenID Connect open standard. Technologies and identity providers such as OAuth and Auth0 enable a central single sign-on, which is now supported by all major platforms.

Ecosystems for Development Environments

In addition to developing new web frameworks, the Jamstack approach requires more web components. By separating the backend and frontend, frontend architectures, browser APIs, HTML and CSS standards could evolve independently. For example, entire ecosystems are developed for ready-made APIs for authentication, for ecommerce, search and so on, or large libraries for very specialized and reusable microservices.

Limitations of Pre-rendering

There were initially limitations in pre-rendering HTML markup for too many pages. Because of its size, the build and deploy cycle was very long. In the meantime, rendering tools have become so fast that thousands of pages can be processed within minutes. The advantage of cloud-based structures is also the possibility of parallelization through Lamda processes. For example, Amazon Web Services (AWS) can render thousands of pages simultaneously in up to a thousand simultaneous processes. In addition, content management systems such as Scrivito have the ability to update content after prerendering to include the latest changes to all content, so that the delivered pages are always up to date.

Content Delivery Network (CDN)

A geographically distributed CDN with locations close to the user delivers the ready-made content of the pages very quickly and ensures good performance. Crucially, the CDN has a sufficiently large number of distribution and end nodes with redundant locations.

Native cloud CMS integration with CDN

A globally distributed CDN, with locations close to the user, delivers the ready-made content of the pages very quickly and ensures good performance. Native CMS cloud solutions like Scrivito have already integrated the CDN requirements conceptually.

"Jamstack for Web Projects" - White Paper

The Jamstack approach has several key advantages over the traditional server infrastructure. It enables higher performance, improves security, lowers costs, scales more easily, and delivers a better user experience.