3 ms·
Content is rendered server-side, but navigation is done client-side. It's not the browser which loads pages, instead it's a script that loads the page content t
by noisem4ker 5y ago
Content is rendered server-side, but navigation is done client-side. It's not the browser which loads pages, instead it's a script that loads the page content through AJAX, updates the current view with it, and pushes a new state to the history API. I think the exact library they use is Pjax. And yes, it inevitably collides with native navigation in that going backwards sometimes brings up stale page states, forcing you to refresh.