Using AJAX to request a JSON file back, after modifying the JSON file, the JSON file request again, the JSON file content has not changed. Even if you delete the JSON file, you can still request the JSON file to get the same content.
Guess JSON is being cached.
Restart the browser (Firefox), restart the wampserver, still get the original content.
This happened once before, and then somehow solved it.
Excuse me, what is the situation and how can I solve it?
Reply content:
Using AJAX to request a JSON file back, after modifying the JSON file, the JSON file request again, the JSON file content has not changed. Even if you delete the JSON file, you can still request the JSON file to get the same content.
Guess JSON is being cached.
Restart the browser (Firefox), restart the wampserver, still get the original content.
This happened once before, and then somehow solved it.
Excuse me, what is the situation and how can I solve it?
I've never met a similar problem, but the idea is to give the JSON URL request a random parameter to try.