VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: phamxuanvinh2110 on November 11, 2016, 09:09:10 AM

Title: speed up for virtuemart 3, style vinasolution
Post by: phamxuanvinh2110 on November 11, 2016, 09:09:10 AM
I bought template of vina solution web, but speed load is very low. i tested : https://developers.google.com/speed/pagespeed/insights/?hl=vi&url=http%3A%2F%2Fphukienvatrangsuc.net%2F&tab=desktop

How can i fix it? I am not good about it. speed slow because much js and css. I enable cache and compress css and js,
Help me. please
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: VMTemplates.net on November 11, 2016, 11:49:17 AM
Hi,

try this: https://www.jch-optimize.net/
Thanks,
Jason
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: Ghost on November 11, 2016, 11:50:35 AM
Enable file compression and caching in .htaccess
https://varvy.com/pagespeed/enable-compression.html
https://varvy.com/pagespeed/leverage-browser-caching.html

Unload unneeded files. Combine and minify CSS/JS files. You can do it manually or using a plugin like JCH Optimize. Be careful because this can cause some JS issues. Test carefully.

Your site has a response time of 3.3s. Use Debug to see if anything is slowing down your site. If nothing is found, your hosting server is probably too slow.
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: Studio 42 on November 12, 2016, 12:11:24 PM
Hi,
you have different problems :

Favicon is not found and checked 3 times. Use an online favion generator and add this in your template > index.php file in the header.

Your main php file is slow. Try to disable some module or plugin, to see why your mainpage need more then 2 seconds to load.
In some case when you have php errors and error log is active, this can slow down tour site too(in some case more then 1 seconds when you have many errors)

Minify and optimize your CSS,Images and javascript, but not only, some scripts are loaded 2 times, so i think some PHP is not well written and not check if javascript (and css) is already loaded.

I think on changing all this you can load your site in 2 seconds and not in 9 seconds as currently.
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: Studio 42 on November 14, 2016, 23:47:20 PM
I like, all time we spend to answer, and at end the user changed nothing.
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: Milbo on November 15, 2016, 09:15:14 AM
Always remind yourself, also other read the post :-) We could also write a sticky or add a page to docs.virtuemart.net
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: VMTemplates.net on November 15, 2016, 11:21:57 AM
QuoteWe could also write a sticky or add a page to docs.virtuemart.net

and I guess that even then some users would still ask about the same ;)
Title: Re: speed up for virtuemart 3, style vinasolution
Post by: Studio 42 on November 15, 2016, 14:15:32 PM
Note: i had another warning for a site in the php error.log .
On correcting the file i won 2 seconds (from 4,1 to 2,2 seconds) and this was only 3 warnings !
I never seen before that this slowed so much a website.