FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


whats the difference between full, min and packed js package





imagefree
whats the difference between full, min and packed js package. Whenever i download a good js application, it asks for three different files. Are these three interchangable?
rockacola
imagefree wrote:
whats the difference between full, min and packed js package. Whenever i download a good js application, it asks for three different files. Are these three interchangable?


Popular open source Javascript files comes in different flavours, they have no difference in its feature:

full: full javascript code + comments, most useful for developers. Larger filesize however.

min: javascript code with comments and additional space/line break removed. Source code is very difficult to read, but by removing those non-compiling data the filesize is now smaller.

packed: by compress your Javascript using packer (eg/ http://joliclic.free.fr/php/javascript-packer/en/) truely minimise filesize of the Javascript. Source code is NOT readable, filesize is to the smallest but come with 1 cost: extra loading time on your Javascript.

Some said unpack Javascript doesn't take any time, others think packing is not "optimistic" in today's wide bandwidth.

Personally, I go for min. Wink
blueray
Yes, it is the way jquery in use today.
But now provide two flavors only.
imagefree
thanks guys for your suggestions.
Related topics
D difference between Anime and Tokusatsu... anyone know??
Difference between a Jr. Admin & MOD
Difference between watch & wife.
Is there a difference between "I know" and "I
Difference between Contests and Marketplace.
Whats the difference between Core Duo and Hyperthreading?
what is the difference between primary partition?
What is the Difference Between Love and Affection
What is the difference between these?
difference between windows xp service pack and sp 2 rc 1
difference between Pentium D, Pentium 4 and AMD Athlon
Actionscript2.0 - Difference between var :Object and new Obj
Making money from your hobby
Difference between Ctrl+Shift+Esc and Ctrl+Alt+Del?
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.