Skip to content

Commit

Permalink
Update 2024-03-19-turbo-8-instantclick-prefetch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yshmarov committed Mar 21, 2024
1 parent d284fac commit 88b0829
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _posts/2024-03-19-turbo-8-instantclick-prefetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ link_to "Admin", admin_path, data: {turbo: false}
Caution:
* wrong assumptions can lead to more server load
* you would not want to count these prefetch requests as page visits
* whenever you re-hover on a link, it will trigger yet another request
* whenever you re-hover on a link, it will trigger yet another request (to always have updated content)

![turbo-8-instantclick-prefetch-weird-revisits](/assets/images/turbo-8-instantclick-prefetch-weird-revisits.gif)

Mentions:
- https://www.mskog.com/posts/instant-page-loads-with-turbolinks-and-prefetch
- https://twitter.com/docusealco/status/1747563403516723517
- https://twitter.com/dhh/status/1754518694066266398
- https://twitter.com/dhh/status/1755263774062526747
- https://twitter.com/dhh/status/1755363667120734643

0 comments on commit 88b0829

Please sign in to comment.