Prompt Caching vs. Structured Output on Amazon Bedrock: What Actually Invalidates the Cache
A hands-on investigation into how prompt caching and structured output interact on Amazon Bedrock with Claude models. Eight empirical tests reveal an undocumented cache-key behaviour, a working workaround, and clear guidance on when each API pattern is safe to use.