There is any way to defer (or async) the email-decode.min.js and mirage2.min.js scripts?

As they are coming as blocking, it’s increasing the FCP and LCP time For our users in the US, it almost doesn’t have an impact, but for our users in countries with slow-speed connections (India, Pakistan), it increases the time a lot.

I tested locally and got these results:

FIC - Blocking: 3.67s | Defer: 2.89s
LCP - Blocking: 5.25s | Defer: 3.05s

Any idea on how can I achieve that?

Thanks in advance.

There ATM is no option to choose on how you want each JS based Cloudflare product to be implemented. But you can choose by yourself how you implement your scripts.

EDIT:

just try the defer attribute like this, to defer JS:
Defer:

aSync:

You can also use both at the same time. Make sure the browsers of your clients support them.
Script-defer support: script-defer
Script-async support: script-async

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.