aFarkas / lazysizes

High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.
MIT License
17.56k stars 1.73k forks source link

PreloadAfterLoad should use "prefetch" #989

Open onlinebizsoft opened 1 year ago

onlinebizsoft commented 1 year ago

Is your feature request related to a problem? Please describe. This is to improve performance of loading and increase pagespeed score Describe the solution you'd like For preloaAfterLoad should append to head as "prefetch" án browser will load during idle cpu which is better than loading agressively. Describe alternatives you've considered Additional context Cc @aFarkas thanks for the great plugin ⚠️ Consider that most features can be solved by the simple plugin architecture and that most features doesn't need to be added to the core.