/**
@title:IE缓存函数(PHP)
*/
iecache();
echo date("Y-m-d H:i:s");
function iecache() {
$_SERVER['HTTP_IF_NONE_MATCH']?header('Etag:1',true,304):header('Etag:1');
}
?>
IE缓存函数将数据缓存在用户浏览器中。对于不需要及时更新的文件,可以用它加快其显示速度。
http://www.bkjia.com/PHPjc/632023.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/632023.htmlTechArticle?php /** @title:IE缓存函数(PHP) */ iecache(); echo date(Y-m-d H:i:s); function iecache() { $_SERVER['HTTP_IF_NONE_MATCH']?header('Etag:1',true,304):header('Etag:1'); } ? IE缓存...
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