Site logo

Archived topic

Add defer to offside.min.js

2 replies · Started by Anders Nielsen on July 31, 2021

Viewing posts 1–3 of 3

Hi

When using autoptimize for the offside.min.js – it breaks and can not close.

So I removed the offside.min.js from autoptimize aggregate :)

But how can I add "defer" to the offside.min.js and main.min.js - for better lighthouse score?

is there a function I can insert into functions.php?

Figured it out :)

Glad to hear that!

This archived topic is closed to new replies.