Do a test using Pagespeed, and identify the files containing the errors.
To find the keyword you can either use the asset name or use Chrome Dev Tools; click F12 on Chrome, click the “Network” tab, and hover over “Initiator” to see which file triggered the asset loading:
Place the domain keyword on Flying Scripts.
Delay using WP Rocket
Delaying any 3rd party plugins will also fix the Pagespeed “Reduce the impact of third-party” warning.
(?:wp-content|wp-includes)(.*) /jquery-?[0-9.]*(.min|.slim|.slim.min)?.js js-(before|after)
The reason behind this formula is as follows:
- /jquery-?[0-9.](.min|.slim|.slim.min)?.js – excludes jQuery
- js-(before|after) – exclude inline scripts. Only inline scripts that are added using wp_add_inline_script() will be excluded.
Read here how Instagram improved their feed page load time in 50% using code size, execution optimizations and other techniques.
Switch to better plugins
- Consider Novashare instead of Social Warfare.
Consider using a smaller captcha such as math challenges, instead of Recaptcha. Set up Cloudflare and enable bot/email protection if it suits your spam/bot fighting.
You also can delay ReCaptcha until user interaction to reduce js exec time, but it needs testing, as smart bots may bypass it.
Ask the developer to improve the plugin
Get your WordPress Unused CSS Core Web Vitals Optimized!