How does caching help here? How much repetition is there in queries?
This only works because prompt caching is done by matching prefixes, not the entire input.
From my understanding if previous tokens are frozen and guaranteed to be immutable you can leverage that.