🎉Get your Wordpress Pagespeed optimized today for only $34.30🎉

Buy Wp Rocket

Wp Rocket review: New and Improved Core Web Vitals features

Last updated on November 11, 2021 | By

Leader in the cache performance, Wp Rocket has lots of new features released to help improve Core Web Vitals, including remove unused CSS and delaying all Javascript but not essential ones by default new features.

Wp Rocket has been a long-standing WordPress plugin with strong technical documentation, detailing each of its features with a page including examples, and in some features, it adds issues debugging, with a guide of how to solve the issues. Alongside its strong and immense development community, covering the most edge cases from regular WordPress users.

If you haven’t bought Wp Rocket yet, consider using my reflink for a +10% discount.

FunctionalityWp Rocket
Delay JS until user-interaction✔️
CDN(Rocket CDN $8/month)
Critical CSS✔️
Cloudflare integration✔️
Database Optimization✔️
Lazyload + Image Optimization + WebP(Imagify $10/mo)
HTML/CSS/JS minification & compression✔️
DNS prefetching, preloading✔️
Remove unused CSS✔️(beta)

BuiltWith shows that Wp Rocket had strong growth in website usage, including on the top 10k ranked websites.


Wp Rocket tutorial: How to remove unused javascript

Wp Rocket updated its logic for delaying javascript, it now delays all javascript, including inline scripts, and has a default list of exclusions(alongside internal js exclusion list).

Delaying any 3rd party plugins will also fix the Pagespeed “Reduce the impact of third-party” warning.

The textbox now is for placing javascript you want to be excluded from:

Delay Javascript Execution Wp Rocket

The following formulas will be included by default on WP Rocket and exclude essential Javascript to avoid errors:


The reason behind this formula is as follows:

  • (?:wp-content|wp-includes)(.) – excludes all internal javascript files
  • /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.

Delay JavaScript Wp Rocket 3.9 or higher compatibility exclusions

To prevent any issues that arise from using the delay javascript feature, Wp Rocket has a list of plugins/themes/services that you can add now to avoid it, click HERE for the list.

For Wp Rocket version below 3.9, see our legacy guide HERE.

RocketCDN, Wp Rocket’s CDN plugin

RocketCDN is Wp Rocket CDN product. With a unique price of $8 a month, it offers unlimited CDN traffic(at Wp Rocket discretion). It also offers integration with Wp Rocket. Rocket CDN is powered by StackPath which has 45 edge locations around the world.

RocketCDN setup is a simple 1 step task, just activate it after purchase on the Wp Rocket admin panel CDN tab. It also offers integration with Cloudflare.

Can i use Asset Cleanup and Wp Rocket?

You can use Asset Cleanup and Wp Rocket together, but avoid enabling overlapping functionalities from both to not cause issues.

Leave a Comment