• I would really like if the developers would add the feature of when to execute the image fetching, as having the Instagram feed fetch the images before the DOM OnLoad event has damaged the GTMetrix reports I compile for internal comparisons. We use sliders that use the DOMOnLoad event to determine when to fade in the content, and having Instagram fetch images before the OnLoad, it delays our OnLoad event by anywhere between 300-700ms, which also affects our RUM Speed Index score dramatically (usually doubling it).

    Having the option to choose when the plugin loads its resources would be very nice.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hi @dylanlee98,

    Thanks for the feedback and suggestion. The plugin currently uses the jQuery document ready event to initiate the loading of the Instagram images, but I appreciate your point that this will run before the DOM onLoad event. The feedback we’ve received from the majority of our users is that they want the feed to load more quickly rather than to be further delayed, and so waiting for all of the images on the page to load before initiating the Instagram feed may not be desirable for most users. However, it makes sense to do this in your situation where you have a large hero slider and the Instagram feed down in the footer. We’ll discuss it internally and see if we can add a setting to accommodate this in a future update for you.

    On a side note, would it make more sense in this situation to change the way your slider loads so that it’s displayed once the first image in the slider has finished loading, rather than waiting for everything on the page to load and the DOM onload event to fire?

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Add support for JS execution time’ is closed to new replies.