您好,欢迎访问一九零五行业门户网

html页面不使用缓存的代码_html/css_WEB-ITnose

有时候,在我们用动态php页面调用html的时候会出现html缓存现象,所以可以在html头部加入以下代码,html就不会出现缓存了。

在php页面中,可以加入:
header(expires: mon, 26 jul 1997 05:00:00 gmt);header(cache-control: no-cache, must-revalidate);header(pragma: no-cache);
其它类似信息

推荐信息