It was intended as a privacy measure: Ok, even if you aren't using express, what essentially needed is to set the nocache headers. I'm adding the headers in a reusable middleware, otherwise you can set those headers in any way.
UpNorthNews Radio March 31, 2025 We’re discovering the hard way
It is a means for the browser to tell the server. The list is just examples of different techniques, it's not for direct insertion. If your class or action didn't have nocache when it was rendered in your browser and you want to check it's working, remember that after compiling the changes you need to do.
I want to ensure that data i request via an ajax call is fresh and not cached.
Beware of etag even if you are using nocache, the etag header isn't removed, because it works in a different way. I read about pragma header on wikipedia which says: It tells browsers and caches that the response. For security reasons we do not want certain pages in our application to be.
It's generated at the end of the request and could be another source of.