-
AuthorPosts
-
October 25, 2015 at 1:35 pm #731787
Hi Everybody.
When analysing pagespeed of my website http://www.messemarketing.de I am asked to disable scripts in order to speed up the performance. This is also a problem for SEO.Here is the list of scripts slowing down the site.
/media/system/js/caption.js
/media/system/js/mootools-core.js
/media/system/js/core.js
/media/jui/js/jquery.min.js
/media/jui/js/jquery-noconflict.js
/media/jui/js/jquery-migrate.min.js
/?system/t3/base/bootstrap/js/bootstrap.js
/?gins/system/t3/base/js/jquery.tap.min.js
/plugins/system/t3/base/js/off-canvas.js
/plugins/system/t3/base/js/script.js
/plugins/system/t3/base/js/menu.jsDoes anyone know which of those scripts I may disable without destroying functionality of the template ?
For instance I disabled mootols-core.js but the the ja contact module didn’t work any more after that. :((
And do you know how to disable individal scripts ??
For motools I found a special disabling extension.Any Ideas ? 🙂
Alternatively I could try to load certain files asynchronously. I only know -thanks to your help in this forum- how to do that for all scripts.
But that doesn’t work either. Do you know how to load certain individual scripts asynchronously instead ?
I would be very grateful for your advice. :-*
Thanks and best regards from Germany.
HannoSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 26, 2015 at 3:17 am #752745Hi Hanno,
In template manager section of this template, it provides option so that you can optimise JS and CSS files which helps to reduce the number of JS / CSS files loaded without affecting functions of your site.
1 user says Thank You to Saguaros for this useful post
October 27, 2015 at 7:24 pm #752969Thank you. I tried to use the Optimize JS function. But in that case ja content popup does not show any pictures anymore.
But I don’t know how to exclude ja content popup.
Any ideas ? :-*Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 28, 2015 at 8:41 am #753019Hi
After you enable Optimize JS option, in Exclude files option below, you can add these files: jquery.iscroll.js,yoxview-init.js,script.js
you can add other js file as you want, separate by a comma like above
October 28, 2015 at 9:10 am #753022Okay thanks to several hints and ideas in this forum I found a solution:
A good way to do it is uisng a 3rd Party extension called jch optimze pro. Once installed it is possible to compress sript files.
There is also the option to asynchronously load scripts.
But only 3 scripts maybe loaded asynchronously without problems for the template:
motools-core.js
/assets/js/script.js
/assets/script.js
In total I was able to increase page speed by 10 %.
Really slowing down the page is google maps.
I have a multilanguage website in german, english and french. So for some reason I do need google maps three times.
Still the performance of my site is in googles page speed insight is at 60% for ther mobile version and at 82% for the desktop version. But before it was at 49% and 64%.
A lot of this resulted from reducing the image size with the help of JCH PRO.Far easier and also working is Saguaros proposal. (thank you) Using the optimize JS option and excluding files. jquery.iscroll.js,yoxview-init.js,script.js
The performance mobile is at 54% mobil and 79 % desktop.I am really pleased with the assistance of the joomlart support team. Sometimes it takes a while for me to understand your proposals but in the end I allway find a solution. Thank you.
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by messemarketing 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum