# 缓存 onebox 图片和/或从主域名提供它们

**URL:** <https://meta.discourse.org/t/cache-onebox-images-and-or-serve-them-from-the-main-domain/325769>\
**Category:** Feature\
**Created:** [2024 年9 月 10 日 06:29 UTC](https://meta.discourse.org/t/cache-onebox-images-and-or-serve-them-from-the-main-domain/325769 "2024-09-10T06:29:04Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![schneeland](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schneeland/32/275391_2.png) [@schneeland](https://meta.discourse.org/u/schneeland)\
发布日期： [2024 年9 月 10 日 12:48 UTC](https://meta.discourse.org/t/cache-onebox-images-and-or-serve-them-from-the-main-domain/325769/9 "2024-09-10T12:48:33Z")

</div>

撇开法律方面的考虑，我认为在这个领域做些事情会很有用。  
然而，我倾向于认为，解决方案是要求用户明确选择加入（opt-in）以显示外部媒体。我访问的许多德国网站都采用了这种做法，专门要求用户进行选择（下面有示例）。  
我认为，在此基础上，由 Discourse 主机直接提供静态图像预览会很好，但我倾向于认为实际的选择加入是更重要的一步。

示例（[Golem.de](http://Golem.de)，德国IT新闻网站）：

文章：[Minecraft 电影预告片的 Minecraft 版本征服了人心](https://www.golem.de/news/kloetzchen-komplett-minecraft-version-des-minecraft-filmtrailers-erobert-herzen-2409-188847.html)

无外部媒体选择加入：

 ![{8C36691C-2F29-4204-A3E0-349FDDED9D3E}](https://global.discourse-cdn.com/meta/original/4X/d/0/e/d0e525bc2aa5451415fd1edb1c23b014c7b41410.png)

有外部媒体选择加入：

 ![{393AA765-DC8B-4EFE-B027-558B68921725}](https://global.discourse-cdn.com/meta/original/4X/b/6/4/b64aece95f4469f04f566f6985d352c6c2c72ef5.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/cache-onebox-images-and-or-serve-them-from-the-main-domain/325769)._
