Extension list

Skip to main content

List of all our extensions

Create an account

Category Module Helper Performance Issue

Category Module Helper Performance Issue was created by keep2000

Posted 6 months 2 weeks ago #1046
Hi guys,

We’ve run into a performance issue with the VM category module override.

On a site with around 500 categories and 20.000 products, even on a very fast server, this part alone takes about 10–15 seconds to execute on the first load. After some debugging, it looks like most of the time is spent inside this helper file when building the category tree and product lists: plugins/system/vmuikitx_override/html_override/mod_virtuemart_category/helpers.php

When temporarily disabling this override, the page load time drops back to normal.

So it seems the category/product aggregation logic in the helper doesn’t scale very well with larger category trees.

Although Joomla’s cache helps to some extent, it gets cleared relatively often, and the performance hit is quite noticeable — customers have already reported slow page loads.

Is there a way to optimize how the product counts are calculated in this helper, especially for larger category trees?

Environment: Joomla 5 + VirtueMart 4.6.4

Thank you in advance

Please Log in or Create an account to join the conversation.

Replied by JProStudio on topic Category Module Helper Performance Issue

Posted 6 months 1 week ago #1052
We have a limited testing environment to debug a scenario like this so kindly share the site credentials for trouble shooting the actual issue. Thank you

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets

Please Log in or Create an account to join the conversation.

Replied by JProStudio on topic Category Module Helper Performance Issue

Posted 6 months 1 week ago #1055
We’ve modified the multiple SQL calls used to build the category tree (child categories). I’ve attached the updated
Code:
helpers file
—please review the file and confirm the results at your end.Note: It’s recommended not to use this in the production environment before thorough testing. Thank you

 

File Attachment:

File Name: helpers.zip
File Size:2 KB

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
Last Edit:6 months 1 week ago by JProStudio
Last edit: 6 months 1 week ago by JProStudio.

Please Log in or Create an account to join the conversation.

Replied by keep2000 on topic Category Module Helper Performance Issue

Posted 2 months 6 days ago #1184
This message contains confidential information

Attachments:

Please Log in or Create an account to join the conversation.

Replied by keep2000 on topic Category Module Helper Performance Issue

Posted 1 month 1 hour ago #1201
Hey guys,

Did you get a chance to check this?

Please Log in or Create an account to join the conversation.

Replied by JProStudio on topic Category Module Helper Performance Issue

Posted 3 weeks 6 days ago #1202
Hi we will check this. thanks

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets

Please Log in or Create an account to join the conversation.

Replied by JProStudio on topic Category Module Helper Performance Issue

Posted 1 week 5 days ago #1204
Hi,We updated the changes in the module, but there were some issues. Those issues are fixed now.Can you please check the attached file and let us know if everything is working fine on your site?Thanks.

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.350 seconds
Powered by Kunena Forum