반응형
localStorage은 직접 지우지 않는 이상 계속 존재하는 저장수단이고, sessionStorage은 세션 종료시까지 유효하며 브라우저 종료를 종료로 봅니다. cookie 통신시 헤더에 포함되는 속성으로 api call시 사용 가능합니다.
오늘 chrome-extension 개발중 알게된 또다른 사실은, 세개 모두 chrome에서는 도메인 구분을 한다는 것입니다.
firefox에서는 global 개념이 있는데, chrome은 없는듯 하네요. 방법을 찾으면 다음글 올리겠습니다
'개발' 카테고리의 다른 글
[AWS] ALB health checks failed with these codes 403 (0) | 2022.06.21 |
---|---|
[Python] use pm2 in python (0) | 2022.06.13 |
[Python] TypeError: unsupported operand type(s) for -: 'datetime.date' and 'datetime.datetime' (0) | 2022.06.11 |
[Python] 일 차이 구하기 in python (0) | 2022.06.10 |
[python] background process in python - (2) (0) | 2022.06.09 |