VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: prokops on July 04, 2016, 11:50:09 AM

Title: Minify Javascript
Post by: prokops on July 04, 2016, 11:50:09 AM
Hi!

Google complains about these two files:
(http://i.imgur.com/QgjnLqK.png)

What is the best solution to minify those files or make google shut up about it ?

I removed the vmver reference at the end.

cheers,
Title: Re: Minify Javascript
Post by: GJC Web Design on July 04, 2016, 13:25:20 PM
http://jscompress.com/  ?
Title: Re: Minify Javascript
Post by: prokops on July 05, 2016, 14:04:53 PM
That solves my problem temporarily.

What is the more permanent solution? To compress site js after every update? I don't fancy permanent optimizers such as JCH Optimize as they create more problems than they solve IMHO, especially in conjunction.

What do pro guys do?

Cheers,
Title: Re: Minify Javascript
Post by: GJC Web Design on July 05, 2016, 14:34:22 PM
there was some talk of supplying minified versions.. don't know where that went..

I use a root script that I developed to minify css and js as well as cache etc
Title: Re: Minify Javascript
Post by: Kuubs on December 03, 2020, 09:27:45 AM
Quote from: GJC Web Design on July 05, 2016, 14:34:22 PM
there was some talk of supplying minified versions.. don't know where that went..

I use a root script that I developed to minify css and js as well as cache etc

Care to share?

I'm using JCH optimize but I was advised to do this all by hand. But the problem is that I need to minify Joomla and Virtuemart and extensions it's CSS and JS.
Title: Re: Minify Javascript
Post by: pinochico on December 03, 2020, 09:44:37 AM
I use T3/T4 templates (free bs3) with permanent JS/CSS minify function.
But T3/T4 templates are robust, then I think exist other templates with minify function too