I have a .json file that changes every 10 seconds.
When a user of the website load the page, the code first loads the current .json file; then, the .json file is decoded into an array; and finally, it displays the data from that .json file and some other data based on .json file calculated by php (i.e. the sum of two data points of the .json file).
How could the page access to the "updated" json file and change the displayed data without reloading the page?
Thanks.