milo wrote:I have also slow loading with nopCommerce 2.7 and Fashion theme with ajax filters enabled.
Filtering takes up to 5 seconds and sometimes (seems random) more then 10 seconds even when the page is already in cache. With the standard nopCommerce filtering is fast (< 1 sec).
Our site runs on a fast dedicated VPS, with 3 cores and 4GB ram. I only have enabled the Specifications Filter in the settings of the ajax filter.
We have multiple variants per products, tier prices and discount rules.
In the catalog controller i have made adjustment for loading categories. This helped reduced the page load considerbly (not for the ajax filtering) Maybe this helps resolve the issue?
/* added preparePiceModel parameter, set to false (performance reasons) */
model.Products = PrepareProductOverviewModels(products,false).ToList();
Please take a look at http://www.papicolor.com/210x297mm-a4 and try out a filter. We want to keep the pageload < 1 sec.
Hi milo,
Please update the Ajax Filters to its latest version as we made some improvements in the caching.
Please refer to
this article for the update.
As to the speed please note that the Ajax Filters do much more than the default filters in nopCommerce - i.e take the discounts into account, calculate the available sort options based on the current selection etc. This means that there is no way to make the Filters work as fast as the default nopCommerce filters, which simply filter the products.
Please let us know if you notice any improvement in the filters after the update.
Thanks