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
Hi,
have You enabled cashe?
It works fine for me now.
By the way do send worldwide?
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.
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
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
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
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.
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.
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
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
one more thing
in art-bar , art-menu if You have option to disable loading of jquery library - disable it
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
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
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.
Some additional comments
On your homepage you are still loading three copies of jQuery of which two are different versions:
...ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
...keyboard-centrum.nl/templates/kbc_1_sidebar2012/jquery.js (1.6.4)
keyboard-centrum.nl/modules/mod_jlv_facebook_sidebar/js/jquery-1.7.2.js
You seem to be working on your site while I type this, because the jQuery I see has just changed. Now I also see:
...keyboard-centrum.nl/modules/mod_slideshowck/assets/jquery.min.js (1.7.1)
You should load only one version of jQuery. Otherwise it's likely that there are javascript conflicts which can result in all sorts of problems.
If you are using the Firefox browser, you can see such issues and many more if you install the Firefox browser plugin 'Firebug' available here: https://getfirebug.com/
Personally I prefer to use the VirtueMart jQuery instead of loading jQuery from Google, because sometimes the Google api service is slow. Another disadvantage is, that you can't work on a local (xampp) copy of your site on your laptop without being connected to the internet.
As Milbo mentioned already, VM 2.0.26 works better with Joomla 'Conservative cache' (Do not use the Progressive Cache!) enabled than VM 2.0.24. So you might consider to update to latest versions of Joomla/VirtueMart (test on your xampp copy first of course).
Btw - just for comparison. If you go to the VM2 shop described here: http://forum.virtuemart.net/index.php?topic=110005.0
you will see a fully working VM2 shop which currently also has approximately 600 products and is running on a cheap shared server with cache still disabled.
Quote from: jjk on January 04, 2014, 19:02:55 PM
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
Hello, w.r.t. the template: I don't have a vmgeneral subfolder at all. I created the template with Artisteer. W.r.t. the plugin, I use the K&K YouTube Plugin for Virtuemart