M
M
MultiGramen2020-04-16 21:54:52
Nginx
MultiGramen, 2020-04-16 21:54:52

How to disable caching in NGINX?

There is a browser game and it is updated frequently. The problem is that after this operation, users still download the old version. How to send a request to the user's browser that data should not be cached?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2020-04-16
@MultiGramen

Give the resource to a different address, for example, by attaching an argument to the url:

https://example.com/some/path/image.png?ver=2020041601

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question