Front

max-age보다 expires가 우선순위가 높다

내가 수정한 부분이 하필 캐싱되는 부분이라 신경써야할 게 이것저것 많당.

게다가 일감 자체도 데이터 정합성에 대한 내용이라... (왜 pc/mo 따로 코드 짜게 되어있는지,,,)

확실하게 1시간 뒤에는 캐싱이 새로 되어야한다는 보장이 있어야해서, 찾아본 내용.

The max-age directive takes priority over Expires

 

Expires vs max-age, which one takes priority if both are declared in a HTTP response?

If a HTTP response that returns both Expires and max-age indications which one is used? Cache-Control: max-age=3600 Expires: Tue, 15 May 2008 07:19:00 GMT Considering that each one refers to a

stackoverflow.com

 

추가로 쿠키 전반에 대해서도 쭉 훑었다.

 

쿠키와 document.cookie

 

ko.javascript.info

max-age 0으로 설정함으로써 쿠키를 지울 수도 있었다.