Semantic Cache Poisoning in RAG Pipelines: Embedding Collision, Staleness Windows, and the Cache Invalidation Trap
#ai #performance #rag #security What Semantic Caching Actually Stores A typical implementation stores three things per cache entry: the raw query text, its embedding vector, and the serialized LLM response (which already encodes the retrieved chunks at the time of…