res
Cannot perform I/O on behalf of a different request:Worker 里不能跨请求缓存的东西
这条报错不是业务 bug,是把请求 A 的 I/O 对象交给了请求 B。模块作用域缓存 Response、复用 ASSETS.fetch 结果、waitUntil 留下引用,四种写法对照修法。
Building a Real-Time AI Chat Feature in Node.js Using OpenAI's Streaming API
I almost shipped a bad AI integration once. The feature worked technically: the model answered questions correctly, the UI looked clean, and everyone nodded alo…
题解 20CCF-CSP-T3点亮数字人生
题目传送门 两次拓扑排序,剩下的就是码力了。 小插曲:用auto遍历会T飞。
理解 CORS、预检请求 (Preflight) 和跨域
这篇主要来聊一聊前端常见的跨域问题,以及后端如何处理 CORS 和预检请求 (Preflight)。
How to Unit Test Next.js API Routes with TypeScript
If you need env vars, mocked data, and TypeScript types, this one's for you.
Cypress Test For Optional Data
Imagine you are building an online shopping site. Your goal is to build the best customer-to-customer site, similar to





