-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more prefetch conditions (#1178)
* Clean up method to decide if a link is prefetchable * Add more conditions where a link is not considered safe to prefetch Exclude links with data-turbo-stream or associated with UJS behavior. * We no longer preload data-turbo-stream links * Update test * Add some more test cases
- Loading branch information
Alberto Fernández-Capel
authored
Feb 9, 2024
1 parent
e2e5782
commit 38e7bd2
Showing
3 changed files
with
56 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters