Refactor towards less inline `jQuery()` calls... possible?

I’m sure everybody is aware for page load performance, it’d be best to load render-blocking scripts in footer.

GF is one of the stack components that makes heavy use of inline jQuery() calls, effectively requiring jquery to be enqueued in the header.

Was curious, are there any refactoring plans to optimize this? Is it possible to maybe have a small inline jQuery stub object, that would collect inline calls into an array of functions, then execute them once actual jQuery loads in the footer?

1 Like

I’ll be sure to share that request with the team.

1 Like