本文整理自网络,侵删。
Delphi CEF4为了避免使用缓存:(1)不要在程序代码中设置GlobalCEFApp.Cache;(2)在调用LoadURL之前设置以下两个值:
Chromium1.CustomHeaderName := 'Cache-Control';Chromium1.CustomHeaderValue := 'no-cache';Chromium1.LoadURL(aURL);
//清理 cookies if not(Chromium1.FlushCookieStore(False)) then showmessage('There was a problem flushing the cookies.');
相关阅读 >>
Delphi winapi: setwindowtext - 设置窗口标题
Delphi xe更改ttrayicon系统任务栏图标(无模糊)
Delphi xe7组件tetheringmanager1发送消息
更多相关阅读请进入《Delphi》频道 >>