my homepage is loading fast but its taking around 5 seconds for the products list widget/section to show in homepage.
Its website its around 3 seconds but in mobile its minimum 5 seconds.
The whole products widget section will be empty space and then the whole section appears at once.
I enabled varnish, redis cache but varnish and redis didnt make any difference.
I bundled css and js files and also enabled merging js and css files.
My questions:
- How are the products loading? Ajax/API call or rendered directly from server. I don't see any API calls in network tab so I think products are rendered directly from html. But why is the lag as if its coming from some API. We are using webp for images so I think images are not the issue.
- Is the speed lag happening due to heavy javascript ?
Thanks.