# 移除了CDN，但Discourse在浏览器缓存中仍然指向它？

**URL:** <https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864>\
**Category:** Self-hosting\
**Tags:** cdn\
**Created:** [2024 年1 月 25 日 05: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:** 3

<div class="post-metadata">

作者： ![sweetbeems](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sweetbeems](https://meta.discourse.org/u/sweetbeems)\
发布日期： [2024 年1 月 28 日 03:44 UTC](https://meta.discourse.org/t/removed-cdn-but-discourse-still-points-to-it-in-browser-cache/292864/3 "2024-01-28T03:44:36Z")

</div>

感谢您的回复！

> [@pfaffman](#):
>
> If you’re going to get rid of the CDN, you must rebuild so that the assets got precompiled, and to do need to rebake all posts.

对于非上传的 CDN，情况似乎并非如此？据我所知，烘焙后的帖子内容中似乎没有任何资源 URL。

> [@pfaffman](#):
>
> Google “clear browser cache browser name”

不幸的是，这对于用户来说并不是一个真正的解决方案，我希望有什么类似 get param 缓存破坏器的东西。尽管我必须承认，我并不完全清楚缓存为什么会影响它……在隐身模式和非隐身模式之间的行为确实存在差异。

无论如何，随着 DNS 完全传播，问题似乎已经自行解决了。

---

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