Caching Strategy

การทำ Caching Strategy สำหรับเว็บไซต์ที่มี Traffic สูง
สรุปกลยุทธ์แคชที่ “ได้ผลจริง”: แยกเลเยอร์ Browser–CDN–Server–Service Worker, กำหนดเฮดเดอร์หลัก (Cache-Control, s-maxage, ETag/Last-Modified, Vary, immutable), เลือก TTL ตามชนิดคอนเทนต์, ใช้ SWR อย่างเหมาะสม, ทำ asset fingerprinting และวัดผลด้วย CWV/TTFB & Cache-Hit Ratio