Semantic Caching is Not Correct Caching

Jampolhz · reddit · 2026-07-17

The author compares the actual effects of exact-match caching and semantic caching in LLM scenarios, concluding that while semantic caching appears to have a higher hit rate, the real risk lies in the false reuse of "similar but not equivalent" queries.

Exact-match: Safe but low hit rate

Semantic caching: Higher hit rate, but might answer incorrectly

The author's current approach

In conclusion, they remind us that semantic caching isn't free: all requests must be embedded first. If the requests are inherently unique, you might end up "spending more money just to get a hit."

Original post →

More from Infra

Infra channel →