A modern architecture — Create fast and secure sites and dynamic apps with JavaScrip, APIs, and prerendered Markup, served without web servers. When we talk about “The Stack,” we no longer talk about operating systems, specific web servers, backend programming languages, or databases.
The JAMstack is not about specific technologies. It’s a new way of building websites and apps that delivers better performance, higher security, lower cost of scaling, and a better developer experience.
Markup - Templated markup should be prebuilt at deploy time, usually using a site generator for content sites, or a build tool for web apps.
Any project that relies on a tight coupling between client and server is not built with the JAMstack. This would include:
- A site built with a server-side CMS like WordPress, Drupal, Joomla, or Squarespace.
- A monolithic server-run web app that relies on Ruby, Node, or another backend language.
- A single page app that uses isomorphic rendering to build views on the server at runtime.
Why the JAMstack?
Better Performance - Why wait for pages to build on the fly when you can generate them at deploy time? When it comes to minimizing the time to first byte, nothing beats pre-built files served over a CDN.
Higher Security - With server-side processes abstracted into microservice APIs, surface areas for attacks are reduced. You can also leverage the domain expertise of specialist third-party services.
Cheaper, Easier Scaling - When your deployment amounts to a stack of files that can be served anywhere, scaling is a matter of serving those files in more places. CDNs are perfect for this, and often include scaling in all of their plans.
Better Developer Experience - Loose coupling and separation of controls allow for more targeted development and debugging, and the expanding selection of CMS options for site generators remove the need to maintain a separate stack for content and marketing.