...I have a shop on OC 1.5.1, it has 8000 products in 850 categories. Performance numbers on the standard code, out of the box on Ubuntu 11.10, 1.8GHz laptop with 2GB RAM...chris17453 wrote:kill children counts. That gave me a ton of speed
- Pages with the top menu (home page) the load times were 30 seconds.
- Pages with the top menu and the categories module (product pages) the load times were 50 seconds.
...and it'd max out the CPU for that whole period.
But a few simple tweaks can fix this.
In the file /catalog/controller/common/header.php I commented out line #198, which reads...
Code: Select all
$product_total = $this->model_catalog_product->getTotalProducts($data);
Code: Select all
$product_total = $this->model_catalog_product->getTotalProducts($data);
Code: Select all
$product_total = $this->model_catalog_product->getTotalProducts($data);
Code: Select all
'name' => $child['name'] . ' (' . $product_total . ')',
Code: Select all
'name' => $child['name'] . ' ',
Perhaps we could have a config setting called "show product counts", so we could switch off product counts easily .