Search
Lessons (22)
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… GET /product/42 CDN-- U2: stale page served instantly CDN- S: regenerate in background S-- CDN: fresh page …
- Premiere-Night Video Streaming
… Send video from the CDN, and size the leftovers Video comes from edges near the viewer. Behind the …
- Edge, Platform & Frontend Delivery
… Static public assets belong at the CDN. Personal or frequently changing data usually needs a server boundary. Do …
- Frontend Performance & Core Web Vitals
… Faster server response (TTFB): cache HTML at the edge (SSG/ISR), use a CDN, speed up slow queries …
- Caching & Redis
… private , or should stay in Redis/application storage rather than a shared CDN cache. When should the cache …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… string; private readonly cdnUrl: string; constructor(config: ConfigService) { this.bucket = config.getOrThrow('S3 BUCKET'); this.cdnUrl = config.getOrThrow …
- Scaling, Load Balancing & Rate Limiting
… mermaid flowchart LR DNS[DNS / global routing] -- CDN[CDN, optional] CDN -- WAF[WAF / edge policy] WAF -- LB[Regional …
- Serverless Architecture
… serverless web backend mermaid flowchart LR U[👤 Users] -- CDN["☁️ CDN<br/ static frontend"] U -- APIG[API Gateway] APIG …
- Frontend Security
… default-src 'self'; script-src 'self' 'nonce-r4nd0m'; img-src 'self' https://cdn.example.com data:; connect-src …
- Flash Sale: 10 Million Buyers, No Oversell
… Here's how each layer helps without pretending to be the truth: Layer Job --- --- CDN, rate limit, waiting …
- Design a URL Shortener
… browser - CDN/redirect API - cache - mapping database - 302 redirect - async click event - analytics pipeline (A CDN is a …
- Networking, DNS and Traffic Routing
… That's why many CDNs (content delivery networks: servers spread around the world that serve content close to …
- Backend Design Scenarios
… Use a CDN for static assets and cacheable public data, and route traffic with a global load balancer …
- Which Pattern Do I Need?
… API Gateway, Backend for Frontend Proxy Reverse proxy, CDN, service mesh sidecar Adapter Anti-corruption layer Command Message …
- How a Web Request Works
… 40 That's why we use CDNs (serve from nearby), keep-alive connections (skip handshakes), caching and database …
- REST vs GraphQL vs gRPC
… Client decides Server decides HTTP caching ✅ Easy (GET + CDN) ❌ Harder ❌ No Streaming SSE / WebSockets separately Subscriptions ✅ Built in …
- CloudFront: Faster Websites and Safer File Delivery
… stays private. The simple idea CloudFront is a CDN. It keeps cached copies of files near visitors, so …
- S3: Store Files Safely
… permissions Unexpected old image Key/version selection and CDN cache Exercise: Explain why permission to create a presigned …
- Structural Patterns: How to Connect Objects
… balance = 50 ✅ You've used it: Vue 3 reactivity (built on Proxy ), MobX, API gateways, CDNs (a caching …
- Multi-Region and Disaster Recovery
… Copy across regions with object storage and a CDN (a network of servers that cache files near users …
- Caching, Consistent Hashing and Sharding
… at random. - Serve the product page from a CDN (servers near users that hold copies of pages). - Use …
- Practical Project: Deploy a Real CRM App on EKS
… export (SPA, next export ) S3 + CloudFront Cheapest, global CDN, nothing to patch Server-rendered Next.js (SSR) Separate …