- Joined
- Sep 3, 2014
- Messages
- 6,244
- Likes
- 13,129
- Degree
- 9
@JasonSc, I think
I'd try
Otherwise there's more advanced deferring methods you can use that require more code though.
If this is a script you're inserting into the HTML yourself, you can try to manually defer it by moving it to the footer and "truly" defer it.
defer
only defers the execution of the script but not the downloading of it.I'd try
async
instead and see if that helps. At least this way the rest of your resources can keep downloading.Otherwise there's more advanced deferring methods you can use that require more code though.
If this is a script you're inserting into the HTML yourself, you can try to manually defer it by moving it to the footer and "truly" defer it.