# Cloudflare 文档阅读

## 序

[Cloudflare Fundamentals docs](https://developers.cloudflare.com/fundamentals/)

虽然不知道读这种服务性质的内容的文档干嘛，不过似乎 cf 的这个基础文档里面会讲很多有关的计网知识，所以看一看也没什么坏处。

文档只提供英文版，阅读文档的时候用的是 DeepSeek V4 Flash +沉浸式翻译插件翻译的版本。

另：cf 还有这么一个网站：[Learning Center | Cloudflare](https://www.cloudflare.com/learning/)

里面讲解更多实际的网络相关的知识，之后可以加以补充。

> [!note]
>
> Cloudflare 的产品矩阵是真的庞大...
>
> <img src="https://image.wendaining.top/image-20260717122014044.png" alt="Products" style="zoom:25%;" />
>
> <img src="https://image.wendaining.top/image-20260717122138539.png" alt="Solutions" style="zoom:25%;" />
>
> <img src="https://image.wendaining.top/image-20260717122159010.png" alt="Resources" style="zoom:25%;" />

## Overview

Cloudflare 自称是**连接云网络**，这个似乎是 cf 自创的一个概念，详情见 [Welcome to connectivity cloud: the modern way to connect and protect your clouds, networks, applications and users | The Cloudflare Blog](https://blog.cloudflare.com/welcome-to-connectivity-cloud/#cloudflares-connectivity-cloud)。

> 连接云是一种新方法，用于提供企业保护和连接数字环境所需的众多服务。它是一个统一的、智能的、可编程的云原生服务平台，能够实现所有网络（企业网络和互联网）、云环境、应用程序和用户之间的任意互联。它包括大量的安全、性能和开发服务——并非旨在全面取代现有的一切，而是能够根据需要灵活部署，并将许多关键服务整合到单一平台上。

## Concepts

### cf 作为 DNS 提供商

TODO：[What is DNS? | Learning Center](https://www.cloudflare.com/learning/dns/what-is-dns/)

cf 这个 learning center 的配套文档也太多了...感觉这辈子都看不完，只能在这画个饼了。

不过 DNS 的基础概念还是知道的，这里不写了。很多细节是 TODO，后面估计单独拆出来记。

### cf 作为反向代理

所谓反向代理：一组位于 Web 服务器前方的服务器网络。

- 它们要么将请求转发给这些 Web 服务器，
- 要么代表 Web 服务器处理请求。

使用 cf 进行反向代理的优势：

- 负载均衡
- 缓存
- 防攻击
- SSL 加密
