News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM Cart Slowing the site

Started by atrus, February 18, 2014, 13:05:19 PM

Previous topic - Next topic

atrus

Hi to all,

Noticed that VM Cart module is the slowest in our website (Using Joomla 2.5 and VM2.0.27). More specifically:

...
Application 2.609 seconds (+0.002); 37.28 MB (-1.505) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
Application 2.658 seconds (+0.048); 37.37 MB (+0.093) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
Application 2.658 seconds (+0.000); 37.36 MB (-0.006) - beforeRenderModule mod_virtuemart_cart (VM - Shopping cart)
Application 5.268 seconds (+2.610); 49.65 MB (+12.290) - afterRenderModule mod_virtuemart_cart (VM - Shopping cart)
...

Almost 2.6 seconds to render and +12MB in memory, something is really wrong here!

Any ideas??

Rgrds,
Chris

AH

Regards
A

Joomla 4.4.5
php 8.1

atrus

www.quality-tuning.eu

Hopefully VM2.1 cart will be faster, will check it.

Rgrds,
Chris

jjk

#3
Well..., you don't use the orginal VirtueMart checkout. Maybe you should think about disabling some unnecessary features in you cart view, like the Klarna payment plugin, which you load, but apparently don't use, the yagendoo cart module in the upper right (doesn't make a lot of sense on the checkout page in my opinion), one of the two search modules, etc.

Just for comparison - on my own checkout page I have 12 javascripts being loaded while you load 25.

Another thing that may affect your shop speed is Joomsef. I've seen reports saying that it's sefurls database table had grown to a few hundred megabytes. (The orignal Joomla SEF works fine)

Also, yesterday we discussed the influence of storing all product images in a single folder (\images\stories\virtuemart\product and \images\stories\virtuemart\product\resized). In my own shop I'm using an image folder structure like the one I described here: http://forum.virtuemart.net/index.php?topic=115516.msg389228#msg389228
I found one article in the internet written by a webhosting company which says such a structure has speed advantages. It says: "...To further improve your shop performance, you may want to change the way the images are stored on your server. The default image location is a single folder. As you grow and add more images, this large pile of files can take a while to search through. Having the images stored in subfolders will increase the speed at which they are retrieved and increase the overall performance of your site...".
However, I never tested the speed difference compared with the defaul

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Maxim Pishnyak

Quote from: jjk on February 22, 2014, 13:11:03 PM
As you grow and add more images, this large pile of files can take a while to search through.
It could help during attaching preloaded and synchronized images on product edit form mainly.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart