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?
|
|
whats the difference between full, min and packed js packageimagefree
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
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. blueray
Yes, it is the way jquery in use today.
But now provide two flavors only. imagefree
thanks guys for your suggestions.
Related topics
|