By Robert on Wednesday, 04 June 2014
Posted in General Issues
Likes 0
Views 562
Votes 0
First and foremost, I thank you guys for this update. I noticed a big improvement in speed with this new version(you guys rock)

Now all are left to reduce on my site are those external javascript and background images that jch_optomize couldn't combine. If any of you know a good trick on how to combine external javascript and background images, please help a brother out
I do not recommend combining JavaScript with JCH Optimizer, keep them separate. For me combining JavaScript slowed my site down significantly.... It might have given me a better YSlow rating, but in reality it slowed it down. Simple explanation is: Smaller on demand load Javascript files are better than 1 huge javascript file loaded everytime. Atleast in my case merging javascript really really slowed down the site.

Don't let YSlow fool you... Even though merging Javascript files gave me a higher rating with YSlow, the reality is it slowed my site down. Just minify,compress, gzip... but ignore the merging of JavaScript. Just my 2 cents
·
Wednesday, 04 June 2014 10:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Jannik, great to finally have someone understand our concerns. When you compress css / js files, what these compressor does also slows down your page load. Imagine if you have 20 js files on the page, and the compressor would need to read all these files, get the contents and save it on a cache file. It may only happen on the first time but again, like Jannik said, loading a single file that's 5mb could be much slower than loading separate files.

I would rather rely on pagespeed to handle these compressions if necessary.
·
Wednesday, 04 June 2014 12:45
·
0 Likes
·
0 Votes
·
0 Comments
·
;-) no worries, I understand why many people request merging of Javascript files, as a lot of performance testers/graders reward points for them being merged... but in a real world application often it is counter productive. I cannot stress enough how bad an idea merging JS files with JCH Optimizer is when you are using JS rich components like the Stackideas Suite. You literally are forced to load all three components on a page where you just want to load your simple template js :P
I much prefer having smaller on demand JS which are loaded when there is a need for it.
·
Wednesday, 04 June 2014 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for that Jannik:
·
Wednesday, 04 June 2014 13:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Cheers Robert, you are very welcome!
·
Wednesday, 04 June 2014 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post