iron-meteor / iron-location

Reactive urls that work in IE8/9 and modern pushState browsers.
MIT License
13 stars 18 forks source link

History.state is always null when using appcache #19

Open SatishGandham opened 8 years ago

SatishGandham commented 8 years ago

Earlier I used to use history.state to decide if an user can go back any further in the application. But after enabling appcache, it's always null. Is there a workaround or alternate way to know if the user can goback ?

Does it have something to do with hash paths? https://github.com/iron-meteor/iron-location/issues/12

Example use case: Consider there is a blog app User clicks a link to a post (I love IronRouter), the link opens in the app. User then follows this path I love IronRouter > post author > home > I love IronRouter .

Now when the user goes back, he has to goto home > post author > I lover iron router

At this stage, backbutton won't be displayed.

SatishGandham commented 8 years ago

ANy update?