Skip to content

Add turbo_disable_prefetch helper - #572

Open
BarnabeD wants to merge 1 commit into
hotwired:mainfrom
BarnabeD:disable-prefetch-helper
Open

Add turbo_disable_prefetch helper#572
BarnabeD wants to merge 1 commit into
hotwired:mainfrom
BarnabeD:disable-prefetch-helper

Conversation

@BarnabeD

@BarnabeD BarnabeD commented Feb 9, 2024

Copy link
Copy Markdown

I needed to disable the InstantClick prefetch behavior as specified in the documentation InstantClick on a number of pages for an existing application.

I've added two helpers turbo_disable_prefetch and turbo_disable_prefetch_tag to make it more convenient.

PS :
It's my real first PR, so if I miss something, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant