8 posts with this tag
Cloudflare 上的 OpenNext 将 ISR 缓存存储在 KV 中,每次部署都会悄悄地添加一组永不清理的键。以下是我的一个网站如何将每日 KV 存储成本从 0.50 美元降至不到 3 美分。
withRegionalCache 是 @opennextjs/cloudflare 附带的一个单行包装器。它在您的 KV 缓存前放置了一个 Workers Cache API 层,让您在缓存命中时跳过 D1 标签缓存查找。对于内容网站来说,这相当于每次请求都消耗实际 CPU 与几乎不做任何工作之间的区别。
A concrete walkthrough of how I turned davidloor.com into an MCP server that Claude Desktop and Cursor can query. The tools, the Cloudflare Worker setup, the gotchas, and what to expose.
我构建了一个自动化平台,该平台每晚抓取 11 个政府和非营利组织的 RFP 来源,使用 Llama 3.1 提取结构化数据,并通过 Cloudflare Workers 提供所有内容。
在成功使用 OpenNext 将多个生产级别的 Next.js 网站部署到 Cloudflare 之后,我发现它在性能、成本和开发者体验方面是一个绝佳的组合。这就是为什么这个技术栈成为了我大多数新项目的首选。
在构建实时功能时,开发者通常默认选择 WebSockets。但对于流式传输 AI 响应,Server-Sent Events 结果证明是更好的选择。以下是我在 Kindle ChatGPT 项目中实现 SSE 时学到的经验。
I built an API token system and OpenAPI docs for my project. Here's what I learned about secure token generation, authentication, and making it work with ChatGPT and other tools.
I often use AI while reading on my Kindle, but there wasn't an easy way to ask questions without switching devices. Here's how I built Kindle-ChatGPT, a browser-based AI assistant optimized for e-ink displays that runs entirely on your Kindle.
将最新文章和见解发送到您的收件箱。
Unsubscribe anytime. No spam, ever.