Delphi Chromium Embedded-清除浏览器缓存 [英] Delphi Chromium Embedded - Clear browser cache

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

问题描述

我在我的应用程序中使用了Delphi Chromium Embedded。
我有以下问题:有没有一种方法可以清除浏览器的缓存?

I am using Delphi Chromium Embedded in my application. I have the following question: is there a way to clear cache of browser ?

推荐答案

我也尝试过不通过正确设置选项来使用缓存。我将两个选项(页面和应用程序缓存)都设置为已禁用,但是我的页面仍在使用缓存。
我找到的解决方案是使用

I also tried to NOT use the cache, by setting the options right. I set up both options (Page and Application cache) to Disabled, but still, my page was using the cache. The solution I found was to use

chromium1.RecreateBrowser(url);

这个清除了我的缓存。

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

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