VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: psm on May 30, 2019, 08:40:17 AM

Title: Virtuemart is very slow after 12000 products import
Post by: psm on May 30, 2019, 08:40:17 AM
Joomla 3.8.11 and Virtuemart 3.4.1

Hello, I have problem that my site is very slow after import of 12000 products. Could you please help me to find rootcause? Tech support from hosting wrote me, that it is problem on my side.

My webpage is www.smartobchod.sk


Thank you
Title: Re: Virtuemart is very slow after 12000 products import
Post by: GJC Web Design on May 30, 2019, 17:17:59 PM
a 3MB page size, 100+ calls etc etc  its never going to be the fastest

the time till the first load is nearly 3 sec that points to lack of resources at the server
Title: Re: Virtuemart is very slow after 12000 products import
Post by: psm on May 30, 2019, 17:38:10 PM
Is it possible that some of javascripts are not important? Than maybe I can stop them. Because it is very slowly. No other similar eshops are so slow. I need to make it faster somehow.
Title: Re: Virtuemart is very slow after 12000 products import
Post by: Studio 42 on May 31, 2019, 04:04:41 AM
Have you tested using another template ?
Have you try to unpublish category module and see if it help ?
Have you checked in virtuemart Configuration>Templates> Omitto switch Yes to NO  (for all) , because it can really slowdown your website !
Title: Re: Virtuemart is very slow after 12000 products import
Post by: psm on May 31, 2019, 12:49:07 PM
Hello Studio 42,
I tried two of your advices and it did not help.

I did not try just unpublish category module, I do not understand what do you mean by this.

Thank you
Title: Re: Virtuemart is very slow after 12000 products import
Post by: Jörgen on May 31, 2019, 12:57:41 PM
This is a very good place to start:
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.smartobchod.sk%2F (https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.smartobchod.sk%2F)

Jörgen @ Kreativ Fotografi
Title: Re: Virtuemart is very slow after 12000 products import
Post by: Studio 42 on May 31, 2019, 22:42:05 PM
Your blog page or kontact page need already more then 1.5 seconds to load.
So it's not a Virtuemart issue only.
Title: Re: Virtuemart is very slow after 12000 products import
Post by: psm on June 02, 2019, 10:38:18 AM
So I checked PageSpeed Insights and biggest part of time is consumed by mootools js, but it is not possible to remove. TTFB of server is more than 1 s is it normal?

I deleted some unused plugins as mylivechat and cookies plugin Perfect..., but it increaced just from 30 to 37 points for page https://smartobchod.sk/pc-a-notebooky/pc-zostavy.html.

Title: Re: Virtuemart is very slow after 12000 products import
Post by: AH on June 02, 2019, 11:17:03 AM
Quote, but it is not possible to remove

Why not ??

Mootools front end should not be required - remove plugins that require it or change their behaviours
Title: Re: Virtuemart is very slow after 12000 products import
Post by: psm on June 02, 2019, 11:29:05 AM
I downloaded this plugin Mootools Enabler/Disabler and disable all mootools, page loading was very fast, but it influenced some parts of front end.

For example my Custom filters component did not have collapsed fields after disable or my top menu was influenced.

Title: Re: Virtuemart is very slow after 12000 products import
Post by: Studio 42 on June 02, 2019, 14:29:52 PM
Quote from: psm on June 02, 2019, 11:29:05 AM
For example my Custom filters component did not have collapsed fields after disable or my top menu was influenced.
Contact the author, it shuold wor wihtout mootools else you have obsolete exensions.
Joomla 4.0 do not support mootools officially and is obsolete
Title: Re: Virtuemart is very slow after 12000 products import
Post by: AH on June 02, 2019, 14:36:42 PM
I would go back to the developers of the filter plugin and ask them to update to remove mootools

and note what Studio 42 says - mootools will be removed in jomla4  and your front end should not be using it now imho
Title: Re: Virtuemart is very slow after 12000 products import
Post by: Studio 42 on June 02, 2019, 14:46:19 PM
Quote from: Studio 42 on June 02, 2019, 14:29:52 PM
Quote from: psm on June 02, 2019, 11:29:05 AM
For example my Custom filters component did not have collapsed fields after disable or my top menu was influenced.
Contact the author, it should work without mootools else you have obsolete extensions.
Joomla 4.0 do not support mootools officially and is obsolete