• Resolved qwik3r

    (@qwik3r)


    I’m trying to defer this script: sb-instagram-2-2.min.js?ver=2.4.6 by smash balloon. I added the keyword “sb-instagram” (not sure if I need to include the file filename or not) and I’m not entirely sure it’s working. On the page itself, if I reload to look at the network tab, if I have it set to defer to for 8s wouldn’t it take that long to show in the network tab? Instead it says 101ms.

    How can I double check it’s NOT loading?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @qwik3r after adding it to keywords, check the script has changed from “<script src=…” to “<script data-type=’lazy’ data-src=…”

    Thread Starter qwik3r

    (@qwik3r)

    I’ll check, thanks.

    Thread Starter qwik3r

    (@qwik3r)

    It does appear to have it, thanks.

    Question. My site is complaining about another script not having expired headers, but because it’s an external script, I’m pretty sure I can’t add that. However, since you can delay the loading of the script, I would hope that it doesn’t even show up in GTMetrix to complain about the expiring header, or am I mistaken?

    Plugin Author Gijo Varghese

    (@gijo)

    @qwik3r if the script is delayed and doesn’t show up in the initial network logs, that expired headers warning will not be shown.

    Note: It depends on the timeout. If it’s a short timeout, depending on the speed of your site, the script might load in GTmetrix.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Deferring instagram script’ is closed to new replies.