We have location.reload() in JavaScript. In its default behaviour, forceGet will set to 'false'. So it reloads the current page from the cache. What will be the behaviour if cache is off or person is browsing from private window?
Asked
Active
Viewed 1,823 times
1 Answers
0
Chrome and Firefox will always perform a round-trip to the server, asking for the current resource, no matter what parameter you pass to .reload().

Community
- 1
- 1

Tyler Roper
- 21,445
- 6
- 33
- 56