0
我的PHP网站的HTML标签<head>
包括:网站缓存被禁用,但无法确定它被禁用的位置?
<meta http-equiv="Cache-Control" content="max-age=300"/>
然而,标题显示:
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0
Pragma: no-cache
我不能在PHP网站的任何地方找到我继承被禁用缓存(我做了一个完整的文件内容搜索“缓存”,并没有发现任何相关的)。
我不确定在哪里可以看,所以我想问问什么是在PHP网站中禁用缓存的所有不同方式?
不要使用元高速缓存控制,因为它是无用的。 [相反使用标题标签](http://stackoverflow.com/questions/1971721/how-to-use-http-cache-headers-with-php) – h2ooooooo