OpenCart getCategories() function slow page load

Cancelado Postado Oct 17, 2013 Pago na entrega
Cancelado Pago na entrega

As you can see in [url removed, login to view], the page load speed is very slow.

This is due the categories in left side.

The fault is in here:

public function getCategories($parent_id = 0) {

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '" . (int)$parent_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND [url removed, login to view] = '1' ORDER BY c.sort_order, LCASE([url removed, login to view])");

return $query->rows;

}

The server DOES HAVE Memcache.

If you are able to fix this, please post in comments FIRST WORD "Understood." and details. If the first word is not the one mentioned, you're assumed as spamer and ignored.

MySQL Open Cart PHP

ID do Projeto: #5036853

Sobre o projeto

6 propostas Projeto remoto Ativo em Oct 18, 2013

6 freelancers estão ofertando em média $84 nesse trabalho

ntiersolutions

Understood Hi, I can optimize the left category menu. But this doesnt mean that it will speed up your overall website. Thanks, Harsh

$242 USD em 1 dia
(264 Comentários)
7.0
PhungTran

"Understood" - i'm here for you. Opencart expert here. Let's start with me right now ! Thank you so much !

$29 USD in 0 dias
(187 Comentários)
5.8
datadiggers

Hello, I'm Matt and I specialize in performance optimization of PHP/MySQL/HTML applications, including OpenCart. Most of my projects are related solely to performance optimization. Some of my past work: https://www Mais

$100 USD in 2 dias
(12 Comentários)
5.3
hardikshah83

Understood. Experienced programmer with more than 10 years of development experience here. I have handled production applications with various technologies like .NET, PHP, Classic ASP and many more using databases like Mais

$50 USD in 3 dias
(8 Comentários)
3.6