Home > php教程 > php手册 > IE缓存函数(PHP)

IE缓存函数(PHP)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-22 18:38:34
Original
913 people have browsed it

<?php
/**
@title:IE缓存函数(PHP)
*/
iecache();
echo date("Y-m-d H:i:s");
function iecache() {
    $_SERVER[&#39;HTTP_IF_NONE_MATCH&#39;]?header(&#39;Etag:1&#39;,true,304):header(&#39;Etag:1&#39;);
}
?>
Copy after login


IE缓存函数将数据缓存在用户浏览器中。对于不需要及时更新的文件,可以用它加快其显示速度。


本文地址:

转载随意,但请附上文章地址:-)

Statement of this Website
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
Latest Issues
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template