2 ms·
If the question is why a reload is not allowed to be handled by JavaScript, so you can fetch updates, the answer is that it's not mean to be a regular navigatio
by Comevius 4y ago
If the question is why a reload is not allowed to be handled by JavaScript, so you can fetch updates, the answer is that it's not mean to be a regular navigation event, but a hard reset that unloads the document and it's resources.
Some users use it to fetch updates even when they don't have to, but they still get what they want. A site that automatically fetches updates can be unreliable, so you reload it, which also let's you check your internet connection and the server. If reload would be handled by JavaScript you would have to close the browser and open it again to be sure.