🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Production and Cost: all 10 questions

Quiz: Production and Cost · Question 7 of 10

Where should stable content go in a prompt to benefit from caching?

Where should stable content go in a prompt to benefit from caching?

  1. A.At the start, before anything that changes from request to request
  2. B.At the very end, after the question
  3. C.Anywhere, because caching ignores order
  4. D.In the output
Answer & explanation

Correct answer: At the start, before anything that changes from request to request

Caching is a prefix match.

Can you get the rest right without peeking?

Take the timed Quiz: Production and Cost quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →