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. If you omit both cache and nocache, then the database caches 20 sequence numbers by default.
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. But i also read that this doesn't work in some versions of ie. For security reasons we do not want.
Are there any set of tags that will turn off cache in all browsers? The ?nocache with time echo solved the issue. Here's the nocache attribute proposed by mattytommo, simplified by using the information from chris moschini's answer: