[php]禁用快取

風痕影默發表於2014-12-13

header("Expires: -1");

header("Cache-Control: no_cache");

header("pragma: no-cache");

三者都可以達到禁用快取的效果但是由於瀏覽器種類多,所都寫上保險點

相關文章