Unverified50% confidenceEventExact time
In one Mastra configuration, storing messages as a Postgres jsonb column caused property key order to change on read, thereby changing the prompt bytes and breaking the cache.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/12/2026
First Seen
Valid until: 1/10/2027
Sources
Related Entities
Related Claims
UnverifiedIn RAG scenarios, concatenating retrieved context documents into the Prompt causes a sharp increase in input tokens, and exceeding the context window limit results in API errors or truncated input.62% similarUnverified缓存命中的前提是提示词内容保持稳定,若系统提示词中包含动态插入的时间戳、会话ID或随机内容则会造成缓存失效61% similarUnverifiedWhen role tokens become misaligned due to abnormal session states, context truncation, or internal cache errors, the model may misread its own generated text as user input57% similarUnverifiedPrefix caching is highly sensitive to the order of context concatenation; if dynamic content is inserted at the head of the message list with every request, the cache hit rate will plummet to zero.56% similarUnverifiedPostgreSQL的MVCC机制下,每次UPDATE操作实际上是写入一条新的行版本,对大JSONB字段频繁增量更新会导致写放大问题56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1006082API
curl https://kongchang.com/api/v1/knowledge/claims/1006082MCP
get_claim(id=1006082)