• Resolved Rookie

    (@alriksson)


    Is it possible to support to delay load of inlined javascript? As to target for inline Javascript, you can use any keyword inside the code itself? I did a quick test on local and It didn’t seem to be supported for inlined Javascript by Flying Scripts. Just sharing a feature request which could be handy to delay those inlined javascripts as well entered by plugins and themes.

    Workaround require a bit more maintence to unload the inline javascript and manually enqueue the javascript as static assets to delay them.

    Haven’t checked the performance impact of delaying inline js as of delaying them as static assets. But you might shine some lights on that whats your thoghts is on delaying inline js vs moving them to static assets. More than the cache benefits.

    • This topic was modified 3 years ago by Rookie.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Delay inlined javascript’ is closed to new replies.