You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integration of Matomo into our Next.js site unfortunately increases the Total Blocking Time (TBT) in http://pagespeed.web.dev (mobile) to 300 to 500ms.
We were thinking of two ideas of how to reduce the impact:
Instead of loading matomo.js as a file, integrate its component directly into Next.js as this may avoid redundant code
Reduce the load for the main thread by utilising a web worker as next/script has now (experimental) support for it
Any thoughts on the above?
The text was updated successfully, but these errors were encountered:
The integration of Matomo into our Next.js site unfortunately increases the Total Blocking Time (TBT) in http://pagespeed.web.dev (mobile) to 300 to 500ms.
We were thinking of two ideas of how to reduce the impact:
Any thoughts on the above?
The text was updated successfully, but these errors were encountered: