Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webview's reloadIgnoringCache doesn't appear to be ignoring cache #3393

Closed
johnthedebs opened this issue Nov 10, 2015 · 3 comments
Closed

webview's reloadIgnoringCache doesn't appear to be ignoring cache #3393

johnthedebs opened this issue Nov 10, 2015 · 3 comments

Comments

@johnthedebs
Copy link

I have a site in a webview which I'm reloading with the reloadIgnoringCache method, and after the reload I see a bunch of 304 responses in the webview's devtools. I've tried calling the method on both the webview itself and the host window with the same results.

I could be misunderstanding what the method is supposed to do, but my expectation was that it wouldn't attempt to use the cached response for any requests, like when the Disable cache check box is checked in the dev tools window.

I'm using Electron version 0.34.3 on OS X 10.11.1.

@zcbenz
Copy link
Member

zcbenz commented Nov 11, 2015

Currently reloadIgnoringCache is mapped to loadUrl since we need to force restarting renderer process, I'm merging this to #1360.

@wasimxe
Copy link

wasimxe commented Nov 13, 2018

have you found solution, its not working for me using reloadIgnoringCache and also not even after adding extraheader info set to nocache,store using loadURL. How did you guys manage to do it. When I update script/js.js file included in my index.html file and I reload index.html in webview, and its not updating script/js.js ... any idea?

@xmsz
Copy link

xmsz commented May 19, 2023

any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants