By Sunny on Friday, 10 April 2015
Posted in General
Replies 1
Likes 0
Views 1.1K
Votes 0
I'm trying to optimize my site and needed some info.

In the media folder for easysocial there are 4 scripts
easysocial-1.3.25.static.min.js
easysocial-1.3.25.static.js

easysocial-1.3.25.optimized.js
easysocial-1.3.25.optimized.min.js

What is the difference between the above two scripts, can the site work if only optimized.min.js is loaded? or both static and optimized is needed?

I ask this because my sites home page is loading media/com_easysocial/scripts/easysocial-1.3.25.static.min.js which is more than 1mb and i only have a streams module & login module published. Is this even needed on home page as easysocial is loading other javascripts as well on home page, namely:
com_easysocial/resources/f032ce2a9c95c133406b5421f2dd74a5.js
/media/foundry/3.1/config/c6e6df0c4f3f05c5458b6890d789478d.js
/media/foundry/4.0/config/81aac46b27fc08faec7c39b93c279eb6.js
media/foundry/3.1/scripts/foundry.min.js
/media/com_easysocial/config/5f405e0daaca52b1aec1a2a5f9fba820.js


If you notice above there are two versions of foundry config being loaded?, i believe that easyblog uses foundry 3.1 & ES uses 4.0?? cant we get away with using only one?

regards.
Hi Sunny,

Sorry for late reply to this,
The different is "Static" environment means it compiles everything into 1 single file but "Optimized" not everything compiles in the one file.
Yes, you can try set to "Optimized" system environment.

Yes, you're right, current Easyblog 3.9 is using foundry 3.1. But we will see if we can upgrade to use foundry in the future.
·
Saturday, 11 April 2015 02:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post