<?php //通过http协议控制缓存,在默认下,浏览器会缓存页面,不同浏览器缓存时间不同 header("Expires:-1"); header("Cache-Control:no_cache"); header("Pragma:no-cache"); ?>