【问题标题】:iframe that includes a flash movie does not refresh包含 Flash 影片的 iframe 不会刷新
【发布时间】:2012-09-02 08:55:18
【问题描述】:

我有这样的代码

<iframe src="index.html"></iframe>

index.html 包含一个flash 电影。每次我更新这部电影(同名)时,浏览器都会显示浏览器缓存中的上一部电影。

我尝试了不同的技巧,例如:meta headers tahs for no cache,jscript 更改 index.html 文件的参数,即 index.html?xxxxx 但它似乎不起作用。

有什么想法吗?

乔治

【问题讨论】:

    标签: flash caching iframe browser-cache


    【解决方案1】:

    在对象标签中使用参数,比如

    <object data="xxx.swf?nocache=ran.gettime() ....
    

    【讨论】:

      猜你喜欢
      • 2012-10-07
      • 1970-01-01
      • 2015-11-29
      • 2015-07-22
      • 2011-01-08
      • 1970-01-01
      • 1970-01-01
      • 2023-03-30
      • 1970-01-01
      相关资源
      最近更新 更多