Answer the question
In order to leave comments, you need to log in
Why is the data on the page not updating after making changes?
Good day.
The question is the following. There is a page that is available at two addresses:
- locally 192.168.0.126
- from outside 109.195.XX.XXX:82
1. I make changes on the page, for example, I ask the service (by sending a text command) to set an alarm (turn it on or off).
1.1 Locally, the on/off alarm slider instantly changes its state.
1.2 from the outside, it takes about 3-5 seconds before the on/off slider changes its state.
2. I make changes on the page, for example, I ask the service (by sending a text command) to change the alarm time
2.1 on the Local page - the alarm time immediately takes the specified values
2.2 on the page accessible from the outside - the alarm time remains unchanged. you have to press F5
It's definitely not the browser cache. I suspect that you need to dig into the nginx settings. tell!!! how to make it so that the time also changes its value when accessing the page from the outside? perhaps you need to refresh the page forcibly, but in this case, by what means
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question