Maybe I’m slow to catch on, but this seems like something you could exploit in a timing side-channel attack, similar to Spectre, to exfiltrate other clients’ submitted prompts? Not that those are likely to be very interesting, but still…
Edit: Exfiltrate, not exfoliate, lol.
Exfiltration is trivial in some sense (the server tells you if and/or how much of the prompt you send was new vs retrieved from cache). The major catch is that you have to guess the exact prefix, and only then the server will tell you if your guess was correct or not. So this doesn't really give you a way to discover information you didn't know, only to discover if anyone else has had the exact same question.