I used PHP and Ajax. After adding data, I refreshed the front page and the data did not change.
I changed the PHP dynamic script, and I can only see the effect by re-opening IE and entering the address.
Are these the reasons for caching? How to solve it?
Ajax caching problem solution:
It is a caching problem.
Add header("Cache-Control: no-cache, must-revalidate") on the server;
And add a random or time string in your JS submission parameters
url+"?timeStamp= "+new Date().getTime();