Question

I know it's kinda vague, but I have a website and all works fine, unless the page "See All" as well as the search and filters, are all very slow. If it's in cache it opens in a second but if it isn't it takes so much time.

it only happens to this page but it a catalog page anyway, I don't know where to check.

Thanks! Best regards, Rui Silva

Was it helpful?

Solution

Sometimes this is caused by having too many filterable/ searchable attributes, so it's worth a try to verify this.

But what I suggest on a more granular scale is to install blackfire.io tool and to profile the pages you mention. The profiling results will provide a detailed graph where you will be able to see which are the classes and methods used and where is the time spent inside them.

Good luck!

OTHER TIPS

Not all pages are cached and this applies in most cases ot search result and filtered results.

So you need to optimize on these.

How this can be achieved : use Elastic search, Save search results , upgrade to 2.4.x as this will have Mysql 8.x which is faster. Check searchable attributes and there configuration related to search.

Reduce number of search result and use lazy loading or pagination

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top