Html/php页面被缓存(客户端)不应该

EKS*_*EKS 1 html php

URL在这里:http://www.thexsoft.com/DownloadFolder/download.php?file = P2PTransfer

这个页面基本上是我设置url来下载我发布的某个问题的一种方式.永远不应该缓存此页面,但它似乎仍然是缓存.

我设置了以下项目:

<meta http-equiv="expires" content="0" >
<meta http-equiv="cache-control" content="no-cache" >
<meta http-equiv="pragma" content="no-cache" >
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" > 
Run Code Online (Sandbox Code Playgroud)

当我没有fastclick.net广告代码时,页面上的html代码验证100%,但我现在保留它,因为它通常在.

Emr*_*mre 5

Pragma:no-cache仅在通过安全连接(https)使用时阻止缓存.Pragma:no-cache META标记与Expires相同:如果在非安全页面中使用,则为-1.该页面将被缓存,但标记为立即过期.

http://support.microsoft.com/kb/234067

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
Run Code Online (Sandbox Code Playgroud)