I'm building a news website with C# and MVC5. I also use MsSQL. In this project I made everything as a partial view and when I need, I call the component and put it into needed section.(binding components to sections from db etc.)
Now I'm almost done and I've come performance issues. One of them is lazy loading from jquery.
I scroll the web page through the bottom, on main section lazy load works but on the right hand side, there are components (like, most read news, most commented news) They do not lazy load until scrolling of main section ends. After finishing scrolling on main section, on the right side, components images start to come.
How can I get fix this?
EDIT: I use; jquery.lazyload.js and in the views (cshtml) I make my img tags like this;
<img class="lazy" src="/assets/img/lazyload.gif" data-original="blabla.jpg"/>