Click into the Perfmatters plugin settings.
Click on the “Extras” tab and the “Assets” sub-navigation menu.
There is a check to see if the script already has a
defer attribute, so you don’t need to worry about it getting multiple attributes applied.
Warning: We recommend testing this separately or leaving it off. Many plugins and themes require jQuery and deferring it might cause problems on your site.
Add JS exclusion by script
script.js (one per line).
This should be unique, so if you have a generic file name, you can add a partial path to include the plugin’s folder on your site. Example:
If you think deferral is causing an issue you can always uncheck the options above temporarily to test.
How to exclude a page/post from deferral