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.

➡️ Stable 0.5x Web Development
3,697
Comments
20
Years Active
5
Top Authors
#9175
Topic ID

Activity Over Time

2007
19
2008
21
2009
59
2010
123
2011
295
2012
277
2013
222
2014
176
2015
138
2016
245
2017
189
2018
168
2019
259
2020
277
2021
187
2022
259
2023
277
2024
234
2025
268
2026
4

Keywords

Senna.js JS NEED F5 intercoolerjs.org i.e intercooler.js SPA herokuapp.com HTML5 page javascript ajax js reload html server pages url browser

Sample Comments

luckystarr Aug 7, 2023 View on HN

Look up pjax. You can have both, every page gets reloaded, but the user won't notice it.

Kiro Mar 30, 2016 View on HN

With Django, RoR etc all subsequent navigation would require full page reloads while this only does it the first time.

gildas Nov 24, 2014 View on HN

tl;dr use pjax [1][1] http://pjax.herokuapp.com/

jooize Sep 15, 2020 View on HN

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.

scwoodal Nov 7, 2016 View on HN

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.

strommen Sep 12, 2016 View on HN

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.

Traubenfuchs Apr 17, 2019 View on HN

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.

paulryanrogers Jul 1, 2025 View on HN

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

simula67 Jun 12, 2018 View on HN

How does this compare to PJAX : https://github.com/defunkt/jquery-pjax ?

jameshart Jan 7, 2024 View on HN

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!