Title: Deferring instagram script
Last modified: August 16, 2020

---

# Deferring instagram script

 *  Resolved [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/)
 * 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](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/#post-13265596)
 * [@qwik3r](https://wordpress.org/support/users/qwik3r/) after adding it to keywords,
   check the script has changed from “<script src=…” to “<script data-type=’lazy’
   data-src=…”
 *  Thread Starter [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/#post-13268871)
 * I’ll check, thanks.
 *  Thread Starter [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/#post-13269718)
 * 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](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/#post-13271864)
 * [@qwik3r](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/flying-scripts/assets/icon-256x256.png?rev=2240444)
 * [Flying Scripts: Delay JavaScript to Improve Site Speed & Performance](https://wordpress.org/plugins/flying-scripts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flying-scripts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flying-scripts/)
 * [Active Topics](https://wordpress.org/support/plugin/flying-scripts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flying-scripts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flying-scripts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/deferring-instagram-script/#post-13271864)
 * Status: resolved