# Twitter DM이 Firefox 로컬 캐쉬에 남던 버그를 수정

> Clean Markdown view of GeekNews topic #1830. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=1830](https://news.hada.io/topic?id=1830)
- GeekNews Markdown: [https://news.hada.io/topic/1830.md](https://news.hada.io/topic/1830.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-04-05T10:30:48+09:00
- Updated: 2020-04-05T10:30:48+09:00
- Original source: [hacks.mozilla.org](https://hacks.mozilla.org/2020/04/twitter-direct-message-caching-and-firefox/)
- Points: 5
- Comments: 0

## Topic Body

Twitter가 개인DM이 웹캐쉬에 남던 버그를 수정했다고 발표.

Mozilla측이 원인과 해결법을 상세히 공유.

트위터가 Cache-Control: no-store 헤더를 사용하지 않아서, 휴리스틱 캐슁이 동작했음

일반적으로 다른 브라우저들은 캐슁과 관련없는 Content-Disposition 만으로 휴리스틱 캐슁을 끄지만, Firefox 는 이는 캐슁과 관련없는 헤더로 인식하여 캐슁을 끄지 않음.

개발자들은 ID정보 같은 것에는 꼭 Cache-Control: no-store 를 쓰라고 강조.

많이들 오용하는 Cache-Control: private 는 CDN에서 사용하는 공유캐쉬에만 적용되며, 브라우저 캐슁과는 상관없음.

## Comments



_No public comments on this page._
