Author Topic: Minify Javascript  (Read 3954 times)

prokops

  • Jr. Member
  • **
  • Posts: 53
Minify Javascript
« on: July 04, 2016, 11:50:09 am »
Hi!

Google complains about these two files:


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,

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10302
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Minify Javascript
« Reply #1 on: July 04, 2016, 13:25:20 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

prokops

  • Jr. Member
  • **
  • Posts: 53
Re: Minify Javascript
« Reply #2 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,

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10302
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Minify Javascript
« Reply #3 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Huubs

  • Jr. Member
  • **
  • Posts: 308
Re: Minify Javascript
« Reply #4 on: December 03, 2020, 09:27:45 am »
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.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1244
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Minify Javascript
« Reply #5 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
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates