What to exclude in JS/CSS

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.6.00 out of 6 based on 1 vote(s)
GK User
Wed May 04, 2016 7:10 pm
Hi to all!
I had this conversation with Joomlaworks first, and they assured me that my problem is - template problem.
Therefore, I am asking you the same question…

I have a problem SIGPro when I turn on JavaScript Compression.

When JavaScript Compression is off everything works fine,
but when it is on - When click on gallery (Polaroids. single thumbnail, FancyBox)
it opens only one (first) picture in new tab.

I’d excluded JS/CSS: com_k2/js/k2.js, all.js, jquery.min.js, ga.js,
mootools-core.js, mootools-more.js, core.js, engine.js, gk.scripts.js

However, nothing changes.

So, the question is what else should I exclude, or do,
to make SIGPro work properly when JavaScript Compression is on.

Joomla 3.5.1
K2: 2.7.0
SIGPro: 3.1.0
GameNews template 3.13.1

PS
Later I’ve noticed that ReCaptcha do not work either, when JS/CSS compression is enabled

Best Regards

Robert
User avatar
Junior Boarder

teitbite
Thu May 05, 2016 9:11 am
Hi

There is really no simple answer to that. Some scripts cannot be compressed with each other. The only thing which can be done is to exclude all the files used by site and than removed them from exclusion box one by one while checking when elements will break.
User avatar
Moderator

GK User
Thu May 05, 2016 9:58 am
Hi teitbite!
Thanks for yours prompt and concise reply.

Should I do it? What do you think, will I gain speed if I do that?

Best Regards

Robert
User avatar
Junior Boarder

teitbite
Fri May 06, 2016 6:00 pm
Hi

The gain in speed if You will use compression won't be that big. Try using jotCache instead.
User avatar
Moderator

GK User
Mon May 09, 2016 6:35 am
Hi teitbite!
Thanks for useful advice.

But…if I eventually chose to exclude all the files used by site and than removed them from exclusion box one by one,
question is how can I find all the files used by site (e.g. jquery.min.js, ga.js, mootools-core.js…)

Best Regards

Robert
User avatar
Junior Boarder

teitbite
Tue May 10, 2016 12:30 pm
Hi

On website select to see source code and all the files will be listed in <head> section.
User avatar
Moderator

GK User
Tue May 17, 2016 12:52 pm
Thank You :)
User avatar
Junior Boarder

teitbite
Fri May 20, 2016 2:13 pm
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron