# 网站故障内容未显示

**URL:** <https://meta.discourse.org/t/site-glitch-content-not-showing-up/325288>\
**Category:** Support\
**Created:** [2024 年9 月 6 日 10:03 UTC](https://meta.discourse.org/t/site-glitch-content-not-showing-up/325288 "2024-09-06T10:03:10Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2024 年9 月 17 日 12:25 UTC](https://meta.discourse.org/t/site-glitch-content-not-showing-up/325288/17 "2024-09-17T12:25:46Z")

</div>

Cloudflare 的“自动压缩”系统已停止支持，并将很快被移除：

 ![SCR-20240917-lzcx](https://global.discourse-cdn.com/meta/original/4X/d/4/b/d4bc99944ca38ecd5249333f77c89735bed60452.png)

它不支持现代 JS 语法，因此会在 Discourse 的代码到达浏览器之前破坏它。

因此，恐怕我们在 Discourse 端对此无能为力。Cloudflare 的自动压缩功能已损坏且不再受支持 😓

一般的建议是，压缩应该在“构建时”完成。这就是我们在 Discourse 所做的，并且您的主网站可能也已经这样做了。

这是关于该功能在 Cloudflare 社区中被弃用的讨论：

[https://community.cloudflare.com/t/deprecating-auto-minify/655677](https://community.cloudflare.com/t/deprecating-auto-minify/655677)

---

_[View the full topic](https://meta.discourse.org/t/site-glitch-content-not-showing-up/325288)._
