I am trying to on off a led from my webpage...so I write a PHP script which make changes in a JSON file "lightn" or "lightff" when I press on or off button from my webpage.
Here every thing is fine and works smoothly.
When I read JSON file using esp8266 every minute....I get response .But this response is repeated again and again..while I make change in JSON file by pressing button...which is also confirm by reading JSON file from browser.
If I power off esp8266...then after power up first response is ok...next response after a minute...same.
I think may be some problem with response cache which is set to 5000..How we clear this response cache when we start post method again.
Please help...
Here every thing is fine and works smoothly.
When I read JSON file using esp8266 every minute....I get response .But this response is repeated again and again..while I make change in JSON file by pressing button...which is also confirm by reading JSON file from browser.
If I power off esp8266...then after power up first response is ok...next response after a minute...same.
I think may be some problem with response cache which is set to 5000..How we clear this response cache when we start post method again.
Please help...