By User on Saturday, 06 February 2021
Posted in General Issues
Likes 0
Views 499
Votes 0
Hello.
I turned off Toolbar in EasySocial backend settings.
And published few modules instead:

  1. mod_easysocial_dropdown_menu
  2. mod_easysocial_notifications
    mod_easysocial_search


Please correct me:
Original Toolbar to ToolbarModule* use one file https://strana-krovi.com/media/com_easysocial/scripts/site-3.2.24-basic.min.js

Other 3 modules use "script.js" (3) files https://strana-krovi.com/modules/mod_easysocial_***/scripts/script.js

So, if use Original Toolbar to ToolbarModule site will be load more faster (because it use only site-3.2.24-basic.min.js)?

If use few modules, site will loads site-3.2.24-basic.min.js and 3 script.js ?

Thanks.

P.S: * or ToolbarModule has it's own script.js file?
Hello,

I am sorry for the delay of this reply.


So, if use Original Toolbar to ToolbarModule site will be load more faster (because it use only site-3.2.24-basic.min.js)?
If use few modules, site will loads site-3.2.24-basic.min.js and 3 script.js ?


Regarding the above, the site-3.2.24-basic.min.js (main) script is needed and will be loaded when the module script.js being executed. This is because from the script.js (from modules), it actually called the scripts (functions) from the main file.

So in term of performance, I would say there will be no differences. In fact, the size of the scripts.js is so small that your users will not notice any differences.

Hope this help and have a nice day
Sam
·
Monday, 08 February 2021 16:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post