On mobile phones, people dont see more than 4-5 posts on the first load without scrolling. So loading 30 posts in first load, takes time and makes user impatient.
At the same time, making the search query cost effective. We should not load less than 10.
Hence, calculate viewport height and calc size of a post, based on that load 5 scroll equivalent data. Which for iphone is 8-10 posts.
On mobile phones, people dont see more than 4-5 posts on the first load without scrolling. So loading 30 posts in first load, takes time and makes user impatient.
At the same time, making the search query cost effective. We should not load less than 10.
Hence, calculate viewport height and calc size of a post, based on that load 5 scroll equivalent data. Which for iphone is 8-10 posts.