News:

Support the VirtueMart project and become a member

Main Menu

Performance issues

Started by fmlk4u, January 03, 2014, 15:54:13 PM

Previous topic - Next topic

fmlk4u

Hello

I use Virtuemart simple as catalogue, without payment system and we currently have approx. 600 articles/products.
But even on a dedicated server, the site is fast except the VM menu. When I open it, the categories page is shown fast. And if a category has subcategories, this pages also resolves fast. However when I open a product list page, this is unacceptibly slow.

Who has tips, ideas to fix it. I already optimized database, but that didn't help.

To show you the problem, just go to http://keyboard-centrum.nl/nl/winkel/digitale-piano and select "Home/meubel pianos" and see how long it takes before the page is shown. I already reduced the number of products per page to only 20. But that didn't help significantly.

Thanks  for your feedback, help, and, who knows, the solution.

Kind regards, Fred

P.S. Website is Joomal 2.5.16, VM2.0.24c

sadrem

Hi,
have You  enabled cashe?
p.s. Do not forget to change message icon to Solved.

sadrem

It works fine for me now.
By the way do send worldwide?
p.s. Do not forget to change message icon to Solved.

fmlk4u

Thanks so much for you fast feedback. So appreciated!

Yes, we enabled both static and dynamic cache.  Currently I am making an akeeba backup to check locally in XAMPP.
As I stated the website performs OK, but VM products list pages I want to make it faster. Of course all images are compressed for web.

sadrem

It seems to me the problem is because joomla cashe enabled
I think Vm doesn''t work well with cashe enabled.
try to disable it or increase cashe time
on this page
http://keyboard-centrum.nl/nl/winkel/digitale-piano/home-piano

You have more than 200 html requests, 1.5 MB
jquery loaded twice !?

check all plugins enabled, disable all that You are not using.
less plugins more fast

p.s. Do not forget to change message icon to Solved.

fmlk4u

Hi Sadrem,

I disabled quite some plugins and modules I don't use, like all VM_Payment stuff. How did you find out about two jquery loads and 200 html reguests? What does it mean and how can I fix that?

Kind regards, Fred

fmlk4u

Hello,

I am seeking a VM expert who can help me on this performance issue in VM. I don't know how it got there, what is caused and how to fix it. The site performance is OK, VM Category view also but product list view takes much too long. I tend to believe that it is a problem in the website itself and not on the server. Thanks all you wizkids who know much more about VM under the hood than I.

Kind regards, and thanks so very much in advance ,

Fred Mellink

Milbo

Vm2.0.26 works also well with enabled cache.

unpublish all plugins, which you do not need. Try also with the standard template, maybe it is some js error.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

fmlk4u

Hello Milbo,

Thanks for your reply. In the backend (General Settings System) the caching is switched off. I disabled all VM Payment plugins, since we use VM as catalogue but then in the Joomla Components only virtuemart-aio was visible and the Virtuemart component gone. So I find it tricky to disable VM plugins because of such side-effects.
In local xampp I installed a copy of the site and it shows the same problem: fast website except when opening a product list page.  Reducing the number of products to show per page does not help much.

jjk

Just clicked on your provided link and page loading times were looking normal. Perhaps YouTube was slow when you were testing. Just curious - which plugin do you use for embedding the videos?

Looking at your shop with Firebug, it shows two missing images:
...keyboard-centrum.nl/templates/kbc_1_sidebar2012/images/vmgeneral/next_16x16.png
...keyboard-centrum.nl/templates/kbc_1_sidebar2012/images/vmgeneral/backgrounds.png
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

sadrem

try the following:

1) a) disable cashe 
     b) backup and remove folder if You have : /templates/kbc_1_sidebar2012/html/com_virtuemart/category
     c) comment all this in Your index.php from template
<script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script type="text/javascript" src="/templates/kbc_1_sidebar2012/jquery.js"></script>


Doesn't help
please attach  files You have in /templates/kbc_1_sidebar2012/html/com_virtuemart/category
p.s. Do not forget to change message icon to Solved.

sadrem

one more thing
in art-bar , art-menu if You have option to disable loading of jquery library - disable it
p.s. Do not forget to change message icon to Solved.

fmlk4u

Hello Sadrem,

Thanks for your very appreciated help. Here some first feedback.

In the templates/kbc_1_sidebar2012/html/com_virtuemart directory I don't have /category but only a folder /askquestion.
Currently I am busy with an other issue, but 1.5 hour from now I will dig futher into this. If I don't have this folder, do I still add the script code you suggested into the inex.php of the template ?

Thanks again. Great to have people like you on the internet;)

Regards, Fred

fmlk4u

In local copy of the site I commented out:

<!-- <script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script> -->
<!-- <script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script> -->
<!-- <script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script> -->

But that didn't help and I do not have the category folder in the template.

Kind regards, Fred

fmlk4u

I also switched to Beez20 template, but it also didn't help. The only solution seems to reduce the number of shown records  at start even further to e.g. 10.