<?php //通过header来禁用缓存 写多个是为了屏蔽不同浏览器之间的差异 //通过专业的抓包插件 如HttpWatch 进行调试观察 header("Expires:-1"); header("Cache-Control:no-cache no-store must-revalidate"); header("Pragma:no-cache"); echo "Hello Cache"; ?>