What is the the JAMstack

JAMstack

  • javascript
  • APIs
  • Mark-up

[Reusable microservices]=>[API]=>[content delivery networks(CDN)]
[Dynamic functionality] =>[JS]
[Static website] =>[Markup]

  • CDN
    content delivery network
    It is like a cache server=>solve the issue: latency

Benefits

  • Performance
  • Caching
  • Cost-friendly
  • Version Control
  • Atomic Deployment
  • Testing environments

3 ways to render a JAMstack application

  • Static Site Generation
    content(data) => build process=>application==>hosting<->user
  • Server site renderer
    user=>hosting=>build process=>content=>application(built)=>hosting->user
  • Server-side Pre-Renderer
    Static Site Generation (SSG)<-yes-Is the data static?-no->Server-side Rendering(SSR)

Buy me a coffee

你可能感兴趣的:(What is the the JAMstack)