rtCamp / rt-optimizer

A WordPress plugin that improves Core Web Vitals score by loading scripts via worker thread. Keeps the main thread idle for users to interact with page as quickly as possible.
GNU General Public License v2.0
19 stars 7 forks source link

General Optimizations #33

Open aryanjasala opened 2 months ago

aryanjasala commented 2 months ago

Hi team, Here are a few improvements/optimizations I've in mind for the rtOptimizer plugin.

Let me know your views for the same. Thanks!

divyarajmasani commented 2 months ago

The performance lab team is developing a solution to offload scripts to web workers. It is slated to be included in the plugin in version 3.3.0.

https://github.com/WordPress/performance/pull/1247

Let's check out the workings of that. And borrow ideas for enhancement.

I understand we won't be using the Performance Labs plugin in production, so we should explore something to improve our plugin.

@thelovekesh can help understand what can be adopted and what should not be.