ajax防止缓存生成

ob_end_clean();
ob_start();
@header("Expires: -1");
@header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE);
@header("Pragma: no-cache");
@header("Content-type: text/html; charset=utf-8");

你可能感兴趣的:(java,html,Ajax,cache)