I have a question about window.location.reload(true)
.
It with the true parameter, does it actually update the site, downloading all the files again, without using the cache? Or just update the site normally?
I have a question about window.location.reload(true)
.
It with the true parameter, does it actually update the site, downloading all the files again, without using the cache? Or just update the site normally?
According to the MDN documentation, this parameter is called forceReload
.
Syntax:
window.location.reload(forcedReload);
forcedReload
: This is a Boolean flag, which when true, causes the page to always be reloaded from the server, if it is false or not set, the browser you can reload the cache page.
See: