Combine Javascript files

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jun 06, 2013 11:54 am
Reply with quote
Report this post
Hello,

I´m using Minify https://code.google.com/p/minify/ to combine js files. When I tested with ping tools the site load the files individually for example, Mootools-more,core,vmsite, etc and the combine js file with them.

The question is how can i eliminate the individual request and it use the combine file. I don´t know if I explain right.

Kind regards

PD:I used Javascript compression template option and ir doesn´t work. So I´m doing this manually.
User avatar
Expert Boarder

teitbite
Thu Jun 06, 2013 6:34 pm
Reply with quote
Report this post
Hi

Problem is that not all javascript files can be combined. As for example mootools is already a combined file and do not works well combined with jQuery library. Unfortunately some files has be left alone if modules were not chosen consequently using one framework only.
User avatar
Moderator

GK User
Sat Jun 08, 2013 2:47 pm
Reply with quote
Report this post
Hello,

ok but i want to know where is to disable the individual javascript request. It´s to test and try reduce the http request and try with combine file.

thanks
User avatar
Expert Boarder

teitbite
Sun Jun 09, 2013 6:58 pm
Reply with quote
Report this post
Hi

You can exclude files in template settings.
User avatar
Moderator

GK User
Wed Jun 12, 2013 7:57 pm
Reply with quote
Report this post
Hello Teibite,

About that when i active the javascript option the slideshow,popup login,cart,News Show Pro GK4 and virtuemart functions doesn´t work.

I don´t know what js files i´ve to exclude.

http://tools.pingdom.com/fpt/#!/cbFJv6/http://www.vimistore.es/

kind regards
User avatar
Expert Boarder

teitbite
Fri Jun 14, 2013 9:49 am
Reply with quote
Report this post
Hi

I cannot tell either. I can see couple of 3rd party extensions I've not even heard of before. I would start from installing easyjquery plugin to set one jquery library only than I would try exclude all scripts loaded by modules and remove one after the other while checking when problems appear. What You are trying to do is not easy if site is build with extensions using so many different javascript libraries.
User avatar
Moderator


cron