VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: prokops on January 22, 2016, 10:31:53 AM

Title: The need for speed
Post by: prokops on January 22, 2016, 10:31:53 AM
Hi guys!

I see that a clean Virtuemart install is pretty fast. We are currently working on a couple of shops and are experiencing some difficulties getting the performance right.

We would like to see some examples of medium and larger commercial shops running Virtuemart at great performance. Can you provide some examples of established webshops running at great load times ?

Cheers,
prokop
Title: Re: The need for speed
Post by: GJC Web Design on January 22, 2016, 15:13:24 PM
some of mine

maybe not 'great' speed but pretty good for shared server

https://www.escape-watersports.co.uk

https://www.sleepinsilk.de

http://www.elsnervongronow.de

https://www.vioolverkoop.nl

Title: Re: The need for speed
Post by: jjk on January 22, 2016, 22:02:41 PM
Quote from: prokops on January 22, 2016, 10:31:53 AM
We would like to see some examples of medium and larger commercial shops running Virtuemart at great performance.

What do you consider medium and large? 1000 products, 10.000 products, 100.000 products...?
Title: Re: The need for speed
Post by: Spiros Petrakis on January 24, 2016, 16:19:03 PM
Here is a couple of mine with a few thousands products each and quite busy

https://www.motorparts.com.gr
https://www.accessories.gr

In general vm is fast if your hosting is decent and also your template is not a fat ugly monster.
Title: Re: The need for speed
Post by: prokops on January 28, 2016, 11:17:05 AM
Thank you all for commenting.

jjk: I would like to see VM shops performing well on all levels. But ofcourse I would love to see massive, modern well performing sites. Do you know any good ones ?

cheers
Title: Re: The need for speed
Post by: jjk on January 28, 2016, 19:20:55 PM
Quote from: prokops on January 28, 2016, 11:17:05 AM
jjk: I would like to see VM shops performing well on all levels. But ofcourse I would love to see massive, modern well performing sites. Do you know any good ones ?
This one probably has 100000+ products in several languages: https://www.quality-tuning.eu/gb/
But it's not a 'simple' default configuration. It is using one of Spyros's templates.
Title: Re: The need for speed
Post by: GJC Web Design on January 29, 2016, 01:37:14 AM
The above has also had work done by me eliminating duplicate queries from various Joomla core and 3rd party extensions which gave a marked improvement in load times in some situations..
So it isn't only VM that needs to be considered.. I found a large number of duplicate queries in the joomla lang handling
Title: Re: The need for speed
Post by: Milbo on February 08, 2016, 00:42:05 AM
Additionally to that, this guy is atm handled as platin member, because he payed a lot improvements for the general core.
Title: Re: The need for speed
Post by: atrus on April 05, 2016, 09:09:32 AM
Hi all,

Recently migrated to PHP7 and the performance improvement is great:

https://www.quality-tuning.eu/ (https://www.quality-tuning.eu/)

Using VM3.0.14, Joomla 3.5, PHP 7.0.5, Jotcache 5.3 (important: this version works only with J3.5). JCH optimize is disabled for now, we will tweak it abit later.

Suggest everyone to upgrade to PHP7, like now.

Rgrds,
Chris

Title: Re: The need for speed
Post by: GJC Web Design on April 05, 2016, 17:42:58 PM
have to agree.. impressive speed Chris!!!
Title: Re: The need for speed
Post by: betterlead on April 05, 2016, 23:32:03 PM
Wow! Congrats! Fantastic speed.
Title: Re: The need for speed
Post by: Studio 42 on April 06, 2016, 03:40:21 AM
Quote from: betterlead on April 05, 2016, 23:32:03 PM
Wow! Congrats! Fantastic speed.
I don't think it's specifically fast, if this is a dedicated server and run in php7.
P.S:You have some bug on pagination change, in some case i think it's because last category come from session and is set in manufacturer list page.
Title: Re: The need for speed
Post by: bobchain on April 12, 2016, 09:40:48 AM
hi all,
Chris this speed at the moment is a dream ...

I hope to not be OT or I should open a specific thread probably...

For the moment I have big problems with speed and performance in research after moving to the new version.
virtual VPS Apache / 2.2.16 (Debian)
PHP 5.5.26 on CGI-FCGI
Joomla 3.4.8 + VM 3.0.12
site navigation is acceptable (2-5 seconds to load static pages or as a retail product, category, Shopping, ...) but the search takes 10 to 25 seconds, and sometimes ends in timeout

the site is a book store with about 10k products, about 400 categories, and about 5k manufacturer (authors).

www.edizioniesi.it

Do you have any suggestions? update PHP to 7 could solve this problem or almost in part?

thanks all for suggestion
Roberto
Title: Re: The need for speed
Post by: GJC Web Design on April 12, 2016, 10:26:37 AM
hmmm .. why on a simple Joomla content page does the server take over a second to serve?  http://www.edizioniesi.it/privacy

Just tried on my cheap shared server php5.6 - 256Mb  400mSec, no caches etc for the same type of page

if your already slow at this point then all other delays are cumulative
Title: Re: The need for speed
Post by: bobchain on April 12, 2016, 11:06:28 AM
thanks for the fast response.

However now I will ask the provider ti improve this time to response... also if... the web server response with a wait of one second as explained by response time of over 20 seconds in the search?
I have tried with cache on and off... the cache at moment is set "off",
if I turn on it the time to response is also more long, and sometime go in error 505.

I have try to enable memcache... or other but the result is worst...
I have just try also to optimized the DB and done normalization of the data...

all this time for long wait from provider? no other issues?
probably I wrong something in the migration from j2.5 + vm 2.020? in the old search response with 4-5 second at max... (PHP was older 5.3) but the server and features are the same...

thanks so much for your help

Title: Re: The need for speed
Post by: jenkinhill on April 12, 2016, 11:18:45 AM
I agree, it looks like a slow server with limited resources. It is not helped by your template/page size, Firefox dev tools shows the home page weight as 2409 KB
Title: Re: The need for speed
Post by: bobchain on April 12, 2016, 11:43:00 AM
I contacted the manufacturer and asked to improve the resources on the server ... the goal is to get to have a response within max 300 msec ...
For my part I will try to do more with their images or decrease the number of items on the slider so to decrease the total Mb of homepage... same for the result page... then I will inform you about the new speed! thank you so much for now!

Roberto
Title: Re: The need for speed
Post by: Studio 42 on April 12, 2016, 14:38:30 PM
Hi bobchain
Quote from: bobchain on April 12, 2016, 11:43:00 AM
I contacted the manufacturer and asked to improve the resources on the server ... the goal is to get to have a response within max 300 msec ...
For my part I will try to do more with their images or decrease the number of items on the slider so to decrease the total Mb of homepage... same for the result page... then I will inform you about the new speed! thank you so much for now!

Roberto
This is not always a server problem. Sometime it's a plugin, bad config.
You need 1,5 second for a simple form to get the HTML and jchoptimise, that should give a speedboost, need 2 secondes, to load the CSS and javascript.
So i think all your website is badly optimized.
Changing to a better server, seems a good idea, but i think this only hide the real problem : Server setting, PHP Code and template optimisations are need and perhaps how you have set your product(product child,plugin ...)
You can divide the response time by factor 2 and render 3 or 4 time faster your site, without any server changes
Regards,
Patrick
Title: Re: The need for speed
Post by: bobchain on April 12, 2016, 17:30:53 PM
Dear Studio 42, thanks for your comments,
but what makes you say that it is "badly optimized"? image size?the product is loaded by costumer... (i could optimized all the media on the webserver...)  Gzip compression is anable, JCH is enable (not professional only starter plugin)
What makes a best "well optimized" site? what other?? the cache is enable (YES conservative and for some module is disabled) and plugin system cache disable (if I enable make problem and timeout errors)

the products are not structured in a parent/child,
each is an independent item and is connected from 1 to 4 categories
every product has either 1 or 3 price list,
all have relations with other products (necklace management magazine): relationship management such as: magazine -> 01 month, 02 month, 03 month, for each month, week 01, week 02, dossier ... 1, 2, 3, ...
what I believe is the cause of the major problems are the relationships with manufacturers, and specifically "authors", each has 1 to 9 assignments

the only plug-in used on site front-end is
flexibletemplate for VM,
Nextend Accordion Menu V9
on homepage is BT Product Slider
propayment
nonumber extensions

..all extension (not free) approved by official extension of VM...

EDIT: I have also try to exclude from column search the manufacturer, id sku, GTIN(isbn), and use only title and the short description (update this info with the names of manufacturers related with the product...), but nothing change on the time of response of search module.

Other?
Title: Re: The need for speed
Post by: Studio 42 on April 12, 2016, 18:06:20 PM
I only give you some advise. Perhaps using jchoptimise, is not right solution for you ?
After it's your server, and i don't want to examine all your plugin,modules ,template ....
YOur pagespeed is correct see : https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.edizioniesi.it%2F
But simply something is wrong.
Title: Re: The need for speed
Post by: GJC Web Design on April 12, 2016, 23:00:09 PM
as Google puts it ->

You should reduce your server response time under 200ms. There are dozens of potential factors which may slow down the response of your server: slow application logic, slow database queries, slow routing, frameworks, libraries, resource CPU starvation, or memory starvation. You need to consider all of these factors to improve your server's response time.

so there is no magic bullet..  but you can do comparative testing.. throw a clean Joomla/VM in a subfolder on this server and test the response

e.g.  http://dev.virtuemart.net/attachments/download/1001/VirtueMart3.0.16_Joomla_3.5.1-Stable-Full_Package.zip

if it is still slow then I would vote with my feet and find a good server
Title: Re: The need for speed
Post by: bobchain on April 15, 2016, 09:35:49 AM
dear all,
Step 1: Replication of the site test (site test is a copy of VPS and Filesystem/DB - Apache PHP, mysql is the same)

Step 2: on this site new folder "esempio" with the new installation of J-VM3 with demo product on VM.
the page load always with a more than 1 second of waiting time, but the search load on 3-4 second for 60 product and 3 manufacturer...

Step 3: on site test with data production, I have disable all plugin, use template "protostar - Default" same configuration of the DEMO J+VM (cache... and configuration VM)

same time...

i have try also to import my product on the site "ESEMPIO", and work ok until I import also the manufacturer...

the search is the only page that does a select and dropdown list of all manufaturer...
also if from my template i can disable/hidden the select manufaturer from result search... I think that the query is done same...

where can I disable this call?

thanks
Title: Re: The need for speed
Post by: bobchain on April 15, 2016, 09:54:56 AM
SOLVED!
disable manufacturer from configurations...

the big problem is the long list of manufacturer... 4,821  the dropdown list done a not optimized query... and so the search take much time!!

however the time of server need to me optimized...

Thanks all guys!
Title: Re: The need for speed
Post by: Studio 42 on April 15, 2016, 12:39:58 PM
A simple way to find out, if the problem is only Virtuemart is to load another page and check loading time(of course disable the Joomla cache) difference.
Another test is to disable all modules. Some are very poor(i don't say my are perfect, but i try) and do not try to speedup the loops and DB queries.
If you checked all (a simple way is google pagespeed to check JS,CSS and server) and it's slow after. Then it's your hosting server/plan.
And don't forget some third party SEF, can be very slow too!
Title: Re: The need for speed
Post by: bobchain on April 18, 2016, 09:55:01 AM
Hi Studio,
as I had write before...
QuoteSOLVED!
disable manufacturer from configurations...

the big problem is the long list of manufacturer... 4,821 in the dropdown list
the problem is in virtuemart in the object that show the list of manufacturer, object used only on the result search page

After disabling this feature, although research has worked with the correct time.

Title: Re: The need for speed
Post by: Studio 42 on April 18, 2016, 13:11:51 PM
Hi bobchain,
This is not solved on my point of view.
I had load by ajax on demand the list, added some javascript and override the template.
But it's your choice ;)
Title: Re: The need for speed
Post by: bobchain on April 18, 2016, 15:45:44 PM
Dear Studio,
Your point of view is the same as mine, but not the customer.
For him to have removed from the list which offers an endless list of authors, is the solution of two problems:
1) faster search
2) no endless list that creates difficulties in navigation / selection.
Anyway, your proposal is the solution to how to make the loading of that list faster... and the propose is sicurly appreciate

Info: but open question... all site that you have propose on the previously message have not so many manufacturer? o almost so many relation from produts and manufacturers? no other requets for same problem?

Thanks
Title: Re: The need for speed
Post by: Studio 42 on April 18, 2016, 16:08:54 PM
Hi bobchain,
I only give you some advise, but if you mean, your site is fast enough, you don't have to follow my advise.
I only see that, for me, some page can be load better in your site(not only the category page) but as i say, i'm not the webmaster of your site and if you and your customer feel happy with it, it's right for me.
Title: Re: The need for speed
Post by: bobchain on April 19, 2016, 10:38:36 AM
Hi Studio!
surely my English is not the best and probably are not able to express myself as I wanted.
what I mean is that I have really enjoyed your suggestions to improve as well as all suggestions of all the others.
The fact that I have written is resolved because I have resolved (find it) an issue that caused a considerable and inexplicable slowdown based on the content that you viewed.
Instead, the fact to further increase the speed of loading, optimize images, css, js ... what should be done consistently, is a continuous monitoring of new content is another matter, and I find myself in complete agreement with your ideas.
And finally the speed of loading of a page is not subjective, there are so many tools like Page Speed, gtmetrix, Web Site Optimization, WebPageTest, ... and other other ... and the happiness of the webmaster is not just to see his client happy ... but see darting his creation !!
A greeting
Title: Re: The need for speed
Post by: Milbo on May 31, 2016, 11:00:05 AM
When you have the manufacturer dropdown in a list, you can set an high caching time.
Title: Re: The need for speed
Post by: nortkele on July 07, 2016, 20:50:06 PM
Hello  prokops,
my online shop GTmetrix score is : 97/88.
http://www.1001avtochasti.com (http://www.1001avtochasti.com)
inside we have 3000 products.
It is based on : Joomla! 3.4.0 ; Virtuemart VirtueMart 3.0.14 . Web site is hosted on own server xampp with php 5.6. Template - core joomla template Protostar. Template is Re developed by me. W3Cvalidation.
Best regards
Title: Re: The need for speed
Post by: servlet on June 21, 2017, 00:14:36 AM
Quote from: bobchain on April 12, 2016, 17:30:53 PM
Dear Studio 42, thanks for your comments,
but what makes you say that it is "badly optimized"? image size?the product is loaded by costumer... (i could optimized all the media on the webserver...)  Gzip compression is anable, JCH is enable (not professional only starter plugin)
What makes a best "well optimized" site? what other?? the cache is enable (YES conservative and for some module is disabled) and plugin system cache disable (if I enable make problem and timeout errors)

the products are not structured in a parent/child,
each is an independent item and is connected from 1 to 4 categories
every product has either 1 or 3 price list,
all have relations with other products (necklace management magazine): relationship management such as: magazine -> 01 month, 02 month, 03 month, for each month, week 01, week 02, dossier ... 1, 2, 3, ...
what I believe is the cause of the major problems are the relationships with manufacturers, and specifically "authors", each has 1 to 9 assignments

the only plug-in used on site front-end is
flexibletemplate for VM,
Nextend Accordion Menu V9
on homepage is BT Product Slider
propayment
nonumber extensions

..all extension (not free) approved by official extension of VM...

EDIT: I have also try to exclude from column search the manufacturer, id sku, GTIN(isbn), and use only title and the short description (update this info with the names of manufacturers related with the product...), but nothing change on the time of response of search module.

Other?

If you have big category menu loaded via Nextend Accordion Menu V9 without cache you will have slow load...
Activate cache by clicking CONFIGURE inside module options...