I am using history.pushState(stateObj, "page", url);
functionality in one of the pages and it works fine for desktop based browser but same fails to work when i view the website on mobile devices for example i tried same on iphone 6 safari & chrome.
I am not sure if i have to use history.js
to support mobile browsers as this script is usually to support old browsers.
What happens actually is it creates a back history but always shows the same page even it you navigate history by -1 or -2. While same works fine on desktop browsers. May be issue could be due to limited cache of mobile browsers