且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在登录/注销情况下以编程方式清除HTML 5应用程序缓存

更新时间:2023-09-10 18:35:40

不考虑HTML5应用程序缓存的详细信息,以编程方式清除浏览器的缓存是不可能的(除了那个浏览器的某些ActiveX控件之外) ),所以我怀疑您可能对此一无所知.也许您应该专注于缓存控制元标记,并用空清单思想进一步进行测试?

Setting aside the specifics of the HTML5 appcache, clearing a browser's cache programmatically has never been possible (beyond certain ActiveX controls for that browser) so I suspect you may come up empty on this one. Perhaps you should focus on the cache control meta tag and test further with your empty manifest idea?