Glean 拾遗
Recent picks

2picks · chronological

07-13

Your Worker can now have its own cache in front of it

Cloudflare launched Workers Cache, a tiered cache that sits in front of your Worker, enabled by a single line in wrangler.jsonc (`"cache": { "enabled": true }`). On a cache hit, the Worker does not run and CPU time is not billed; on a miss, the Worker runs and populates the cache. It supports stale-while-revalidate, Vary-based content negotiation, and multi-tenant isolation via ctx.props. Unlike zone-level caches, Workers Cache belongs to the Worker itself, working on custom domains, workers.dev, and Workers for Platforms. Most notably, the cache sits in front of every Worker entrypoint, including those invoked via service bindings and ctx.exports, enabling developers to compose an app as a chain of entrypoints with per-entrypoint caching control. Framework integrations (including Astro) are available.

blog.cloudflare.com · 32 min · Caching · Cloudflare Workers · Edge Computing
06-29

Temporary Cloudflare Accounts for AI Agents

Cloudflare introduces temporary accounts for AI agents, enabling deployment via `wrangler deploy --temporary` without manual signup. The accounts last 60 minutes, during which agents can iteratively deploy and developers can permanently claim them. The post addresses the problem of background AI sessions getting stuck at browser-based OAuth flows and explains how the CLI prompts agents about the flag for discovery. A complete TypeScript demo walks through deploying a hello world Worker, modifying it, and redeploying with verification. Partnerships with Stripe and WorkOS are noted as part of broader efforts to reduce agentic deployment friction. Target readers include agent platform builders and developers using coding agents.

x.com · 1 min · Agent Infrastructure · Agents · CLI