# Redis 缓存了什么内容？

**URL:** https://meta.discourse.org/t/what-content-is-redis-caching/211025
**Category:** Development
**Created:** [2021年十二月3日 16:18 UTC](https://meta.discourse.org/t/what-content-is-redis-caching/211025 "2021-12-03T16:18:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![emurillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emurillo/32/223792_2.png) [@emurillo](https://meta.discourse.org/u/emurillo)
#### Post date: [2021年十二月3日 16:18 UTC](https://meta.discourse.org/t/what-content-is-redis-caching/211025/1 "2021-12-03T16:18:55Z")

</div>

您好，

我们正在为一位客户准备一份安全文档，想知道是否有关于 Redis 缓存项的文档或指向其列表的指针。

类似于 [https://meta.discourse.org/t/redis-how-are-messagebus-and-redis-working/90229，但回复中没有详细说明用法。](https://meta.discourse.org/t/redis-how-are-messagebus-and-redis-working/90229%EF%BC%8C%E4%BD%86%E5%9B%9E%E5%A4%8D%E4%B8%AD%E6%B2%A1%E6%9C%89%E8%AF%A6%E7%BB%86%E8%AF%B4%E6%98%8E%E7%94%A8%E6%B3%95%E3%80%82)

谢谢！

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2021年十二月3日 17:00 UTC](https://meta.discourse.org/t/what-content-is-redis-caching/211025/2 "2021-12-03T17:00:25Z")

</div>

我们使用 Redis 来存储各种信息——它不仅仅用作缓存。恐怕有太多不同的用途，我无法立刻全部列举出来。

从安全角度来看，您应该像对待主 Postgres 数据库一样小心对待它——假设它包含您不希望泄露的信息。

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2021年十二月3日 17:49 UTC](https://meta.discourse.org/t/what-content-is-redis-caching/211025/3 "2021-12-03T17:49:12Z")

</div>

总的来说，几乎所有短暂的调用（数据库、PHP 等脚本，甚至 Discourse 也不使用 PHO 等）大多由 Redis 使用和重用。

您应该描述安全对您的客户意味着什么。如果您的客户是小型企业、像微软、谷歌或苹果这样的企业、政府或美国国家安全局，那么在安全需求和风险点上存在巨大差异。
