作者forgmonkey (悲情城市之悲情程式猿)
看板PHP
標題[請益] 關於網頁cache
時間Wed Mar 21 05:35:34 2007
我有一個網頁
裡面有個flash,會動態讀取一個XML檔案,產生不同的flash內容
但在IE下 (該死!)
那個flash會被cache
結果我要的動態效果出不來
我檢查過了,不是網頁本身被cache
因為網頁本身其他的動態內容有出來
現在我加上的header如下:
header ("Pragma: no-cache");
header("Cache-Control: no-cache, no-store, private, must-revalidate,
post-check=0, pre-check=0");
header( 'Expires: -1');
是這邊加的不對嘛?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.121.3.2
推 alpe:要不要去看一下 flash+ajax 的問題 03/21 10:29
推 forgmonkey:我這沒有ajax啊...? 03/22 00:45