After opening the debugging tool, the reason is clear: the Ajax returned result http304... each request is cached, and chrome and other browsers normally return 200.
[Solution]
Ajax requests under IE are cached Based on IP addresses and request routes, so the simplest method is as follows:
1. When a request is sent, a timestamp or random seed is automatically added at the end of the request link.
As above:/home/getmusic? Id = 1 + timestamp, which can be easily solved
2. Since it is cached, it will not be cached.
Front-end page disable cache: <meta HTTP-EQUIV = "Pragma" content = "no-Cache">
Front-end Ajax disabling Caching:
Cache parameters for Ajax requests: Required Boolean parameters. The default value is true (when datatype is script, the default value is false ). Setting false does not load request information from the browser cache.
Backend:
. Net: Response. cachecontrol = "no-Cache ";
PHP: Header ("cache-control: No-cache, must-revalidate ");
Header ("Pragma: No-Cache ");