Replies: 1 comment 3 replies
-
Hi there! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @tabuna and thank you for your work!
Is there a way currently to exclude (via configuration or code) one or more routes from the prefetching mechanism?
If not then it might be useful to have this type of configuration.
For example, it's useful to exclude the
logout
route.=EDIT=
Nevermind, a few minutes later, I answered my own question.
I saw that you give the option to disable Turbo's prefetching on a per-element basis by setting the
data-turbo
attribute of the element.e.g.
Beta Was this translation helpful? Give feedback.
All reactions