Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery "Minified" "Uncompressed" files

Tags:

jquery

I new with jquery and I can do simple coding with it. and I want to know about these files more "Minified" "Uncompressed" and when I should use each one?

like image 770
Eyla Avatar asked Feb 27 '10 21:02

Eyla


2 Answers

The minified and compressed versions of each file are simply versions that have been reduced in size with the same functionality. Use them when you put your code into production. Use the "developer" versions while still making your web site and debugging your scripts.

like image 181
tvanfosson Avatar answered Nov 13 '22 15:11

tvanfosson


Uncompressed you use to develop, it's full of comments and useful variable names. Minified you use to actually send to clients to save you some bandwidth and them some loading time.

Minified is effectively the same code, but no comments and a variable like elementTagName may simple be t...not very useful for debugging.

like image 44
Nick Craver Avatar answered Nov 13 '22 16:11

Nick Craver