01 / DECISION
この primitive を選ぶ時
明確な cache key の下で同じ representation を安全に再利用できる response だけを cache します。
02 / ARCHITECTURE
最小で説明可能な path を作る
public / personalized route を分類し、Cache-Control と key input を決め、TTL を延ばす前に bypass と purge を文書化します。
- 01contract を定義
明確な cache key の下で同じ representation を安全に再利用できる response だけを cache します。
- 02primitive を一つ追加
public / personalized route を分類し、Cache-Control と key input を決め、TTL を延ばす前に bypass と purge を文書化します。
- 03failure evidence を残す
rule 前後の cache status、age、vary input、origin load を記録し、purge と bypass を明示的に試します。
03 / REPRODUCE
confidence の前に evidence
rule 前後の cache status、age、vary input、origin load を記録し、purge と bypass を明示的に試します。
curl -sI https://example.com/ | rg "cf-cache-status|cache-control|age" 04 / BOUNDARY
Production boundary
不完全な key で authenticated / user-specific content を cache すると data leak になります。cache miss は origin 容量問題も表面化させます。
05 / FIRST-PARTY SOURCES
一次資料を authoritative に保つ
product behavior、limit、pricing、availability は変わります。実行前に source を再確認してください。