Claude DevsClaudeDevs2026-05-15 07:355 月 15 日API提示预缓存加速首令牌生成Useful tip to cut time-to-first-token on longer prompts in the API: pre-warm the prompt cache. Send...AI 导读减少API长提示首令牌生成时间的实用技巧:预热提示缓存。在用户提示前发送系统提示。Claude会将其写入缓存,但跳过生成任何输出。当真实用户请求到达时,将直接命中预热缓存。来源:Claude Devs · x.com