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.
If you haven’t bought Wp Rocket yet, consider using my reflink.
(?: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.
Switch to better plugins
- Consider Novashare instead of Social Warfare.
Read here how Instagram improved their infinite scrolling feed performance with 25% reduction in time taken to load photos using task priorization and other techniques.
Consider using a smaller captcha such as math challenges, instead of Recaptcha. Setup 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 trespass this option.
Ask the developer to improve the plugin
Read here how Mercado Libre reduced their FID by 60% using code-splitting and other techniques.
Stuck on Core Web Vitals?
Get your site optimized today