I'm adding the headers in a reusable middleware, otherwise you can set those headers in any way. This is causing a problem to my login system (users not logged in can open old cached pages of logged in users). It was intended as a privacy measure:
- Herndon Funeral Home Honoring Lives In Hope Ar
- Christine Beaulieu Roy Dupuis Separation
- Horoscope Tomorrow Vogue
- Gypsy Rose Blanchard Unraveling The Crime Scene
- Best Ways To Watch Vikings Games Your Ultimate Guide
Coffelt Funeral earns chamber honors Bonner County Daily Bee
Ok, even if you aren't using express, what essentially needed is to set the nocache headers.
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.
When i am trying to rebuild it with the same command,. As @kornel stated, what you want is not to deactivate the cache, but to deactivate the history buffer. By default, my browser caches webpages of my expressjs app. I have build a docker image from a docker file using the below command.
It tells browsers and caches that the response. I looked it up and as it turns out, their flush. Different browsers have their own subtle ways to disable the history buffer.