Html cache history

If I use history.back () to click a button, then what will happen?

Content

Will html be displayed from the local browser or cache history, but the browser does not request to the server?

or

browser request to url based server is in browser history

+3
source share
2 answers

Calling "history.back ()" in JavaScript is similar to clicking the "Back" button in the browser user interface (however, there may be slight differences if the location you are currently viewing contains frames and they were moved, re pedantic).

, "": (). (RFC 2616, 13.13, http://256stuff.com/gray/docs/rfc2616/13.html#13.13) :

. , . , , .

. , - Mozilla/Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=288462

, "", , , .

+3

.

history.back() .

0

Source: https://habr.com/ru/post/1742384/


All Articles