Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Is Lazy load jquery function good for pagespeed (https://www.warriorforum.com/programming/789809-lazy-load-jquery-function-good-pagespeed.html)

apnavarun 14th May 2013 08:50 AM

Is Lazy load jquery function good for pagespeed
 
Hi everyone, I am going to use Jquery lazy load funtion which helps in loading only viewable images so it save unnecessary loading of images. I want to know is it good for pagespeed or webpage overall performance. Please share your views and experience.

Thanks

Michael71 14th May 2013 01:26 PM

Re: Is Lazy load jquery function good for pagespeed
 
Use Google to find out different answers...

plugins - Does jQuery Lazy Loading have any real performance gains? - Stack Overflow

Faster page loads with image lazy loading

Reducing Page Loading Time by Adding jQuery Lazy Load Plugin

...

P4tch 14th May 2013 06:13 PM

Re: Is Lazy load jquery function good for pagespeed
 
The thing with LazyLoad is that you're loading extra JavaScript. Now depending on how much stuff you're downloading anyway, this may be insignificant. However, in most cases images will be bigger than the JS anyway, so you should be using it.

I've noticed that it's not supported with all browsers yet :(

mariya20 15th May 2013 11:05 AM

Re: Is Lazy load jquery function good for pagespeed
 
you can check this : https://github.com/sebarmeli/JAIL it's interesting!

ThePooh 15th May 2013 04:45 PM

Re: Is Lazy load jquery function good for pagespeed
 
Lazy loading means " Load it when I need it " when most of the time scripts are just made with " Load it ".

So obviously Lazy Load always improve performance (For instance Lazy Load in model when talking about MVC for example)

Michael71 16th May 2013 12:31 PM

Re: Is Lazy load jquery function good for pagespeed
 
Quote:

Originally Posted by ThePooh (Post 8079218)
Lazy loading means " Load it when I need it " when most of the time scripts are just made with " Load it ".

So obviously Lazy Load always improve performance (For instance Lazy Load in model when talking about MVC for example)

This is NOT really true.

If you have a site with a lot of images and thumbnails ... then it is improving.

If you have a "normal" website it is not really improving. If it would be an improvement for every website... every website would use it.

As I said, it makes sense when you have a site like... a wallpaper site or stuff like that.


All times are GMT -6. The time now is 04:29 AM.