Home  >  Article  >  php教程  >  怎么才能让页面直接调用服务器上的程序,而不是调用本地缓存的页

怎么才能让页面直接调用服务器上的程序,而不是调用本地缓存的页

WBOY
WBOYOriginal
2016-06-13 10:09:56851browse

试试这样:)

应该可以了。。

header("Expires: Mon, 26 Jul 2000 05:00:00 GMT");

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");

header("Cache-Control: no-cache, must-revalidate");

header("Pragma: no-cache");

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