내가 수정한 부분이 하필 캐싱되는 부분이라 신경써야할 게 이것저것 많당.
게다가 일감 자체도 데이터 정합성에 대한 내용이라... (왜 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으로 설정함으로써 쿠키를 지울 수도 있었다.
'Front' 카테고리의 다른 글
proxy client ip / thirdparty (0) | 2022.09.20 |
---|---|
CDN과 다이나믹 캐시 (0) | 2022.09.20 |
postMessage (0) | 2022.09.01 |
가위바위보 게임으로 알아 보는 React 훅 라이프사이클 (0) | 2021.01.09 |
Webpack과 Babel 기본 설정(2)- Create-react-app를 사용하지 않는다면! (4) | 2021.01.02 |