News:

Support the VirtueMart project and become a member

Main Menu

Minify Javascript

Started by prokops, July 04, 2016, 11:50:09 AM

Previous topic - Next topic

prokops

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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

prokops

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Kuubs

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.

pinochico

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 for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products