-
-
Notifications
You must be signed in to change notification settings - Fork 3
History
Fatih Koca edited this page Nov 27, 2019
·
1 revision
History setting is usage of PushState (HTML history API). Received datas after requests to this property are stored in the history with the history.pushState browser property.
PushState (changing the URL of the page without refreshing the page) to create a faster browsing experience. This means less elements to load and therefore faster browsing. There is a detailed explanation to here.
Default value is false
.
Vue.ajax.get("http://example.com", {}, {
history: true
});
Layouts can be forced to do a hard reload when assets or html changes. First set the initial layout version in your header with a custom meta
tag.
HTML:
<meta http-equiv="x-history-version" content="ABCDEFGH">