Archived topic
I have a problem with web performance
1 reply · Started by Ghazi on December 10, 2022
Hello guys
I have a problem with web performance indicators
Attached is a picture of the javascript file, specifically from the jQuery library
Is this from generatepress template or not?
If yes, what is it and is it necessary or should I delay importing it?
Hi there,
jQuery is included in WordPress, and Themes and Plugins can load it if they require it.
GeneratePress doesn't require it for anything aside from the Sticky Navigation feature.
If you're not using Sticky Nav, then it will be a plugin that is loading it,
I looked at the various JS scripts you're loading and this script requires jQuery:
/wp-content/plugins/fluentform/public/js/form-submission.js?ver=3a715af8127f
So that would be Fluent Forms that needs it.
If you defer or delay loading jQuery you must ensure that any scripts that are dependent on it load after that.