HTTP-, (Cache-Control, Expires, Last-Modified ..), . . (ISP, , ). - .
, . , HTTP (html, json ..). , A, , ajax url api. B. C. A, B C . B, , api URL-. URL- popstate.
- - popstate
ajax-. B
, (
).
, ajax
, , URL:
state = { your_key: your_value }
history.pushState(state, title, url)
popstate,
, .
$(window).on('popstate', function(event) {
var state = event.originalEvent.state;
if (state) {
}else{
}
});
, ,
.
, . , (, ) . , "", ajax. ( )