How to disable caching in NGINX?

There is a browser game and it is updated frequently. The problem is that after doing this, users have still loaded the old version. How to query the user's browser, that cache data does not need?
April 19th 20 at 12:24
1 answer
April 19th 20 at 12:26
Solution
To give the resource to another address, for example, trailers for url argument:
https://example.com/some/path/image.png?ver=2020041601
That is, by default, NGINX is not supported? Because the data under these conditions still remain in the cache and the game is not enough. So it's crutches. - Lyla_DuBuque commented on April 19th 20 at 12:29
@Lyla_DuBuquecan even prohibit the caching of certain files. My option is for the case where the content should be cached, but at the same time be able to quickly slip the users to the new version. - dameon.Keebl commented on April 19th 20 at 12:32

Find more questions by tags Nginx