3
I have a question about window.location.reload(true)
.
Him with the parameter true, really updates the site, downloading all the files again, without using the cache? Or just update the site normally?
3
I have a question about window.location.reload(true)
.
Him with the parameter true, really updates the site, downloading all the files again, without using the cache? Or just update the site normally?
7
According to documentation from MDN, this parameter is called forceReload
.
Syntax:
window.location.reload(forcedReload);
forcedReload
: It is a Boolean flag, which when true, makes the page always be server reloaded, if false or not set, browser can reload the cache page.
Behold:
In case what will be true or false in the parameter will be this forcedReload?
My stupid question, that’s right. Thank you, Wallace! When the 6min comes I mark as right!
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
When in doubt, you can test ;)
– Oralista de Sistemas
Thanks for the tip, Renan!
– Lucas de Carvalho