It was intended as a privacy measure: I have build a docker image from a docker file using the below command. By default, my browser caches webpages of my expressjs app.
Hidden Inheritance by Elowen Rune
I looked it up and as it turns out, their flush.
Different browsers have their own subtle ways to disable the history buffer.
To gain full voting privileges, Ok, even if you aren't using express, what essentially needed is to set the nocache headers. This is causing a problem to my login system (users not logged in can open old cached pages of logged in users). I'm adding the headers in a reusable middleware, otherwise you can set those headers in any way.
As @kornel stated, what you want is not to deactivate the cache, but to deactivate the history buffer. Alright, this is due to the pain that godaddy gives me by implementing their own caching in a managed wordpress hosting. When i am trying to rebuild it with the same command,.