Internet Explorer清除缓存 [英] Internet Explorer Clear Cache

查看:154
本文介绍了Internet Explorer清除缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PDF在iframe中查看,当通过代码更新PDF时,而不是新更新的pdf,查看旧的pdf。此缓存问题仅在Internet Explorer(10)中发生,而不是在mozilla和chrome中。我使用了下面的东西:



PDF is viewed in iframe, when a PDF is updated via code behind, instead of new updated pdf, old pdf is viewed. This cache issue occurs in Internet Explorer (10) alone not in mozilla and chrome. I have used below things:

<%@ OutputCache Location="None" %>

  Response.Cache.SetAllowResponseInBrowserHistory(false);

  Response.Cache.SetCacheability(HttpCacheability.NoCache);

  Response.Cache.SetNoStore();

  Response.Cache.SetValidUntilExpires(true);





问候,



Bala



Regards,

Bala

推荐答案

这篇关于Internet Explorer清除缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆