[請益] 關於網頁cache
我有一個網頁
裡面有個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
推
03/21 10:29, , 1F
03/21 10:29, 1F
推
03/22 00:45, , 2F
03/22 00:45, 2F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章