Skip to content

Commit

Permalink
Add clarifying comment why link prefetching is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Dec 18, 2024
1 parent e21ad98 commit 66b3d2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/assets/js/turbo.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
}

linkPrefetchingIsEnabledForLocation(location) {
// Disable link prefetching since it can be activated by link taps. We
// don't want to prefetch links that may correspond to native screens.
return false
}

Expand Down

0 comments on commit 66b3d2c

Please sign in to comment.