[請益] 關於網頁cache

看板PHP作者 (悲情城市之悲情程式猿)時間18年前 (2007/03/21 05:35), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
我有一個網頁 裡面有個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
要不要去看一下 flash+ajax 的問題
03/21 10:29, 1F

03/22 00:45, , 2F
我這沒有ajax啊...?
03/22 00:45, 2F
文章代碼(AID): #1605Ed2U (PHP)
文章代碼(AID): #1605Ed2U (PHP)