When i am trying to rebuild it with the same command,. Beware of etag even if you are using nocache, the etag header isn't removed, because it works in a different way. But what i would like to do is to apply ?nocache=1 to every url related to the site (including the assets like style.css) so that i get the non cached version of the files.
Ok, even if you aren't using express, what essentially needed is to set the nocache headers. The list is just examples of different techniques, it's not for direct insertion. It tells browsers and caches that the response.
It was intended as a privacy measure: I have build a docker image from a docker file using the below command. It's generated at the end of the request and could be another source of. I'm adding the headers in a reusable middleware, otherwise you can set those headers in any way.