在PHP中,默認情況下不會發送與緩存相關的頭文件。從PHP緩存頭文件
HTTP/1.1 200 OK
Date: Fri, 19 Nov 2010 11:02:16 GMT
Server: Apache/2.2.15 (Win32) PHP/5.2.9-2
X-Powered-By: PHP/5.2.9-2
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 26
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
現在,因爲默認情況下它並沒有說明任何緩存,它可能會導致在某些情況下說example.com/index.php得到緩存?