//Tell the browser that the data returned is in XML format
header("Content-Type: text/xml;charset=utf -8" );
//Tell the browser not to cache data
header("Cache-Control: no-cache");
?>
The above introduces the prohibition of browser caching in PHP, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.
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