Skip to content

Commit 08e8912

Browse files
zefyxsmnandre
andauthored
Improve tip about Turbo behavior
Co-authored-by: Simon André <[email protected]>
1 parent 17cbb58 commit 08e8912

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/index.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,10 @@ Create a LiveAction that generates the URL for the file download and returns a `
13641364
</button>
13651365
</div>
13661366

1367-
When Turbo is enabled, it will intercept the redirect and initiate a second request for the download URL. Adding `data-turbo="false"` ensures that the download URL is called only once.
1367+
1368+
.. tip::
1369+
1370+
When Turbo is enabled, if a LiveAction response redirects to another URL, Turbo will make a request to prefetch the content. Here, adding ``data-turbo="false"`` ensures that the download URL is called only once.
13681371

13691372
.. note::
13701373

0 commit comments

Comments
 (0)