# CDN을 제거했는데 브라우저 캐시에서 discourse가 여전히 CDN을 가리키는 것 같아요?

**URL:** <https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864>\
**Category:** Self-hosting\
**Tags:** cdn\
**Created:** [1월 25, 2024, 5:47오전 UTC](https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864 "2024-01-25T05:47:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sweetbeems](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sweetbeems](https://meta.discourse.org/u/sweetbeems)\
**Post date:** [1월 25, 2024, 5:47오전 UTC](https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864/1 "2024-01-25T05:47:05Z")

</div>

불행히도 내 Discourse 서버의 IP 주소를 변경했는데, 이로 인해 CloudFront 도메인에 문제가 생겼습니다.

그래서 yaml 파일에서 DISCOURSE\_CDN\_URL 주석을 처리하고 다시 빌드했습니다. 하지만 브라우저 캐시가 있는 상태(즉, 시크릿 모드가 아닌 상태)에서 Discourse 앱에 접속하면 HTML에 CloudFront URL이 포함되어 있고, 무한 로딩(죽의 바퀴) 현상이 발생합니다.

처음에는 게시물 베이킹(post baking) 문제일 것이라고 생각했지만, 시크릿 모드에서도 작동하지 않았습니다.

브라우저 캐시를 무효화(bust)하는 방법이 있을까요?

discourse 앱: [https://forums.learnnatively.com/](https://forums.learnnatively.com/)  
잘못된 CDN URL: [https://deyr2qldo994j.cloudfront.net/](https://deyr2qldo994j.cloudfront.net/)

도움 주시면 감사하겠습니다!

수정: 명확히 하기 위해, 제 모든 이미지/업로드는 문제가 없는 다른 CDN에 있습니다. 그 CDN은 [https://do4ryrayvtpwi.cloudfront.net/](https://do4ryrayvtpwi.cloudfront.net/) 입니다. 그래서 게시물 베이킹 문제는 아닐 것 같습니다?

---

_[View the full topic](https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864)._
