How do you optimize retrieval latency in production — what caching, pre-fetching, or index optimization strategies do you apply? | RAG | langchain Interview Questions | NextRound.in