1、使用Cloudflare KV (key-value data store, free 1GB)保存静态资源数据
2、使用绑定(binding)的方式调用平台资源(数据库等,如 Durable Objects(low-latency coordination and consistent storage), R2(object storage) and D1(SQLite Database) in the Pages)
参考文章:
https://linzichun.com/posts/cloudflare-pages-function/