turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 428 forks source link

Transition cache treats links with anchors as a different page #647

Closed gregblass closed 8 years ago

gregblass commented 8 years ago

If a page is loaded in the cache, and you navigate to another page, and then back to that original page (but with an anchor), it is treated as a new page and not pulled from the cache.

For example, if you're on /derp, then navigate to /herp, then navigate to /derp#anchor, a whole new page will be retrieved from the server instead of pulling from the cache (there is no instant navigation like you'd expect from the cache).

gregblass commented 8 years ago

This is no longer an issue with Turbolinks 5. I'd highly recommend everyone to upgrade as it is way more polished and usable.