DEV Community

Discussion on: Do we still need turbolinks/PJAX?

Collapse
 
gmartigny profile image
Guillaume Martigny

Browsers tends to get better and better at rendering pages smoothly. But one thing turbolinks (and such) will always improve is load time.
When you fetch twice the same resource (css, js ...), your browser reload from local cache (disk), but it reloads it anyway (plus parsing and such).
Even better, some lib will preload the target page when the user hover the link. It take a minimum of 100ms for someone to click a link, these time is used to load the next page.
Ever asked yourself why Dev.to is so fast to load ? Take a look at your debugger's network panel and hover any link.

Collapse
 
hugo__df profile image
Hugo Di Francesco • Edited

That makes a lot of sense, it's less about the flash to white of a page navigation and more about performance and responsiveness of the page.