Firefox上的Fusion Charts在不需要时缓存xml



我们在工作中使用融合图表,他们使用xml设置图表的数据和样式

我们不想缓存任何数据,因为它可能是敏感的。这在除Firefox之外的所有浏览器中都可以。。。

为什么只有萤火虫在做这件事,我们怎么能让它停下来!!??

为什么人们仍然坚持使用FLASH!?!?在所有的东西中?!

尝试停止缓存

chart1.setDataURL(escape("xmlfile.xml?currTime=" + getTimeForURL()));
/**
  * getTimeForURL method returns the current time 
  * in a URL friendly format, so that it can be appended to
  * dataURL for effective non-caching.
*/
 function getTimeForURL(){
 var dt = new Date();
 var strOutput = "";
 strOutput = dt.getHours() + "_" + dt.getMinutes() + "_" + dt.getSeconds() + "_" +    dt.getMilliseconds();
  return strOutput;
 }

最新更新