github << rails / stimulus / hotwire

Hotwire: data-turbo-prefetch October 15, 2025

Starting Turbo v8, link prefetching will be enabled by default. This means hovering on links will actually fetch the page as well for faster response once it is clicked.

You can enable or disable prefetching on a per-link basis by setting the data-turbo-prefetch attribute.

<a href="/path" data-turbo-prefetch="false">Do not prefetch</a>
<a href="/path" data-turbo-prefetch="true">Prefetch this link</a>

For links that’s quite data-heavy, it might be better to disable prefetching.

To globally disable turbo prefetching, add this meta tag in your head tag.

<meta name="turbo-prefetch" content="false">