if i use history.back() for button press then what will happen?
html content will be displayed from local history of browser or cache and browser dont request to server?
or
browser request to server based on url resides in history of browser??
if i use history.back() for button press then what will happen?
html content will be displayed from local history of browser or cache and browser dont request to server?
or
browser request to server based on url resides in history of browser??
This is browser dependent.
The behavior of the history.back()
button is up to the browser manufacturer.