• Resolved muhammedswalihct

    (@muhammedswalihct)


    Currently, the preload links on the viewport start preloading the menu/other links on the viewport even before the initial page load. This adds extra requests + load time to the initial page load. Isn’t it better to delay this feature until user actions such as cursor movement or scroll?

    Another thing. It is preloading the viewport content even if the link is already preloaded. So, I think it is better to check whether the link has already preloaded or in the cache and only preload if it doesn’t exist on both types of preload features?

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @muhammedswalihct,
    I can understand why you are saying it, but it is not needed, as when the script sends the preloading requests to the browser, it adds it in a queue with a Pending status and the lowest priority.

    So, preloading will never happen before your main page requests with higher priority are loaded. If you have a page with lots of links, you can open the network tab in the developer tools and see it for yourself.

Viewing 1 replies (of 1 total)

The topic ‘Preload links on viewport ONLY after the page finished loading’ is closed to new replies.