diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index a6fd58674ba..0e228034a65 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -398,6 +398,9 @@ void WebContents::Reload(const mate::Dictionary& options) { } void WebContents::ReloadIgnoringCache(const mate::Dictionary& options) { + // Hack to remove pending entries that ignores cache and treated as a fresh + // load. + web_contents()->GetController().ReloadIgnoringCache(false); Reload(options); }