Home  >  Article  >  Web Front-end  >  Solutions to the impact of Ajax caching in Jquery_jquery

Solutions to the impact of Ajax caching in Jquery_jquery

WBOY
WBOYOriginal
2016-05-16 18:06:36989browse

There will be a cache problem when using the load method in jquery or ajax to call the page. How to clear the cache:

Call the $.ajaxSetup ({cache:false}) method.

Copy code The code is as follows:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn