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=<auto>=>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)