I have read through many of the history api and SEO/SEM questions and I understand that Google can crawl dynamic pages but can google crawl pages on the back button?
If I was to dynamically add to history (my Homepage) on my angular site by doing a history.replacestate then history.pushstate, while never actually changing pages, so when the user hits back, they land on my homepage, would google be able to know that I inserted dynamically into history without the user ever navigating? I understand this isn't the best UX but I am asking from an SEO/SEM quality score point of view.
Steps to Get this
mypage.com/secondpage#letslistenforpopstateinto the history
Do you know if googlebot would track something like this? We only inset and fire show the homepage if the document.referrer is defined from another domain so if a user was to directly navigate to
mypage.com/secondpage we wouldn't fire the pushstate or if they were to navigate internally from
mypage.com/secondpage we wouldn't fire this also.