Jump to content

module blocktopmenu cache


Recommended Posts

in blocktopmenu.php is line:

$smarty_cache_id = 'blocktopmenu-'.$this->page_name.'-'.(int)$this->context->shop->id.'-'.implode(', ',$this->user_groups).'-'.(int)$this->context->language->id.'-'.(int)Tools::getValue('id_category').'-'.(int)Tools::getValue('id_manufacturer').'-'.(int)Tools::getValue('id_supplier').'-'.(int)Tools::getValue('id_cms').'-'.(int)Tools::getValue('id_product');

I dunno why is it like this, why always recompile it, when it doesnt change, maybe if u got some links that are not visible for some group, then let there just user_groups

 

I changed it to:

$smarty_cache_id = 'blocktopmenu';

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More