javascript - Scroll becomes slow when page becomes huge -
i have infinite scroll on website. after while, when page keeps loading things , becomes huge(height > 50000px) scroll becomes extremely laggy , slow. page consists of images , videos(html5 , youtube videos in iframes).
the jquery overall remains fast jquery slide events becomes slow.
what can make faster? specially scroll.
this article handling ngrepeat directive in angularjs tackle "similar" problem. (not same thing @ all)
but!, question believe you're doing wrong. should paginate or else. users won't loose content. in "database", right? right?
it seems you're looking solution isn't real problem. please reconsider. reevaluate circumstances. study other solutions , approaches. go else.
Comments
Post a Comment