HTTP Cache-Control Request

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Jun 8 2:2
Editor
Edited
Edited
2021 Jun 8 2:9
Refs
Refs

Directives

Cache-Control: max-age=<seconds> Cache-Control: max-stale[=<seconds>] Cache-Control: min-fresh=<seconds> Cache-control: no-cache Cache-control: no-store Cache-control: no-transform Cache-control: only-if-cached
 

no-cache

no-cache 값은 대부분의 브라우저에서 max-age=0 과 동일한 뜻
즉, 캐시는 저장하지만 사용하려고 할 때마다 서버에 재검증 요청을 보내야
 
 
 

no-store

캐시를 절대로 해서는 안 되는 리소스일 때 사용
캐시를 만들어서 저장조차 하지 말라는 가장 강력한 Cache-Control
 
 
 
 
 
 
 
 

Recommendations