Re: Minifying js
Reply #1 –
Do you have minification / combining activated in the admin panel ?
Re: Minifying js
Reply #2 –
I do now, never seen that option. Proves ElkArte to be great and modern again!
Re: Minifying js
Reply #5 –
The minify option included into elkarte is for both css and js "Minify Javascript and CSS files "
Re: Minifying js
Reply #6 –
I covered that option in MESFA addon too. But I haven't got time to look at it for quite some times. Sighed
To note, all forums e.g. elkarte.sch.my or x-mans.sch.my that is using MESFA, got 77/100 score. Not bad at all.
Re: Minifying js
Reply #8 –
That is high. Which forum is that?
Re: Minifying js
Reply #9 –
By the way, talking about minifying css, is there any possibility for us to add css files for addons in that process so they can be compiled together in one combined css rather than injecting them on its own to the respective page header?
Re: Minifying js
Reply #12 –
TBH I'm not so sure deferring everything is a good idea: most of the scripts (still) rely on inline javascript and may expect some code to be run in the js files present in the head to the page, so defer these script may cause issues.