Magento – Reducing page load time on product collection / product collection usage options

categoryproduct-list

I want to show the full product list from a category without pagination, however with ~500 simple products page loading is slow. Is there any way I can fetch the full collection and show sections at a time, reducing page load times?

Alternatively is there a way I can setPageSize(20) (or something), but save the full collection for use later in the list.phtml file?

Best Answer

Loading 500 product will always slow down the server.

However you can trick the function to get the result.

You can load products on scroll, so that customer don't need to go to next page.

See this link.

If you using this function I would recommend to disable your pagination and count function from admin.

Hope this helps.

Related Topic