-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set turbo-prefetch to false per default for Seaside since callbacks m…
…odify state server-side and should not be prefetched
- Loading branch information
Johan Brichau
committed
Nov 27, 2024
1 parent
02a2236
commit 456d54a
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
repository/Seaside-Core.package/WAMetaElement.class/instance/turboPrefetch..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
attributes | ||
turboPrefetch: aString | ||
"Prefetching links is enabled by default since Turbo v8, | ||
but you can disable it by adding this meta tag to your page with value false." | ||
|
||
self name: 'turbo-prefetch'. | ||
self content: aString | ||
5 changes: 5 additions & 0 deletions
5
...de-HotwireTurbo-Core.package/WATurboRenderPhaseContinuation.class/instance/updateRoot..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
updating | ||
updateRoot: aRoot | ||
|
||
super updateRoot: aRoot. | ||
aRoot meta turboPrefetch: 'false' | ||
Check warning on line 5 in repository/Seaside-HotwireTurbo-Core.package/WATurboRenderPhaseContinuation.class/instance/updateRoot..st Codecov / codecov/patchrepository/Seaside-HotwireTurbo-Core.package/WATurboRenderPhaseContinuation.class/instance/updateRoot..st#L1-L5
|
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