greasyfork icon indicating copy to clipboard operation
greasyfork copied to clipboard

Investigate enabling turbo globally

Open JasonBarnabe opened this issue 1 year ago • 2 comments

Is there a performance benefit to having turbo running globally, where all requests become JS requests? Does this break anything?

JasonBarnabe avatar Aug 15 '24 20:08 JasonBarnabe

Turbo globally? What do you mean?

cyfung1031 avatar Dec 04 '24 17:12 cyfung1031

Turbo is a JS framework. Greasy Fork currently uses Turbo for JS on form actions, like confirm before submit and links that do POSTs. Turbo more generally lets the page be partially replaced on navigation, which theoretically is better performance-wise.

JasonBarnabe avatar Dec 04 '24 17:12 JasonBarnabe