Slide 5
Slide 5 text
介紹 HTTP 1.1 Cache-Control Header
● Response Cache Header
○ no-store
完全不 Cache
○ no-cache
允許 Cache 但是每次都會檢查 Cache 狀態
○ max-age
設定要 Cache 幾秒
○ private
Cache 只給目前使用者使用
○ public
Cache 可共用 (HTTPS不可共用)
○ must-revalidate
交由 Client 自行決定要不要使用 Cache
● 可以混搭