I want to ensure that my servet\'s response is never cached by the broswer, such that even if two identical requests are made (a nanosecond apart), the server is always cont
We use:
// HTTP 1.1 response.setHeader("Cache-Control", "private, no-store, no-cache, must-revalidate"); // HTTP 1.0 response.setHeader("Pragma", "no-cache");