Speed up perceived performance with Turbo preload links

13850
0

Turbo can preload pages on hover (or on touchstart) which makes navigation feel instantaneous. I use data-turbo-preload on links that are likely to be clicked (like list item titles). The server still controls caching and ETags, so it remains safe and efficient. This is a “cheap win” because it doesn’t change any architecture; it just warms the cache and fetches HTML early. I’m careful to use it sparingly—preloading too much is wasteful on mobile. When combined with fragment caching and small layouts, it can make a Rails app feel as fast as a SPA. It’s also easy to A/B: add the attribute to a few hot paths and measure.