PJAX and Turbolinks
Discussions focus on web libraries like PJAX, Turbolinks, and similar tools that enable faster, SPA-like navigation in server-rendered multi-page apps by replacing page content without full browser reloads, often comparing them to traditional reloads and full SPAs.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Look up pjax. You can have both, every page gets reloaded, but the user won't notice it.
With Django, RoR etc all subsequent navigation would require full page reloads while this only does it the first time.
tl;dr use pjax [1][1] http://pjax.herokuapp.com/
Would it save time by loading pages without making a normal new page request? I mean using AJAX/jQuery/… and updating URL with window.history.pushState.
To give users who have java script enabled (the address bar updates) the feel of an SPA and the full page reload jank doesn't take place.
Have you checked out pjax? I believe it does the same thing.The biggest problem I've had trying to use stuff like this is that the page load events don't fire. And many pages run lots of JavaScript in these events.
Would that not reload the websites? Then it would only make sense if you have super low latency, tiny payload and don't need to scroll.
If by 'nicer' one wants to avoid the flash of blank between clicks, then I don't see how you'd avoid recreating an SPA
How does this compare to PJAX : https://github.com/defunkt/jquery-pjax ?
What part of 'insanely snappy' did you miss?There's NO NEED for a browser to reload and reconstitute the entire page context on every interaction! It's a crazy way to architect applications!