public marks

LINK

JSMin (Online Javascript version of this Tool) - A filter which removes comments and unnecessary whitespace from JavaScript files

by decembre & 1 other
JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation.You can automate this process with a minimizing application which you can find here and an on-line javascript version here ______ You should note that while comments are useful for maintaining the code, they are a liability itself in Javascript since they will be transmitted along with the code to each and every page load, which can create substantial bandwidth penalties and increase the load time of your page for users. This doesn't mean you shouldn't comment your code, just that once your code is "finished" you should make a backup copy with the comments, then strip out all the comments in the file which is actually sent to the user.

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

code   comment   dev   greasemonkey   java   javascript   nettoyer   online   optimiser   optimizer   outil   script   tool   tools   userscript   web   Web_Programming  

BY

decembre
the 21/08/2010 at 13:28

ckaroli
the 06/03/2007 at 13:48