Static vs dynamic website
Static websites can have dynamic components.
Dynamic:
- a website is rendered at the time of request.
- Use server side languages
- Connected to database
- Complex
- Easily scalable
- Personalizable the content since users can interact with the website
- Loding time is not as fast as static
Static: pre-rendered and delivered via CDN
- very fast loading time
- Not easily scalable
- Low cost
- Easy to build
- No real-time content. No notifications, no recommendations.