public marks

PUBLIC MARKS from decembre with tags nettoyer & optimiser

21 August 2010 13:15

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

by 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.

decembre's TAGS related to tag nettoyer

astuce +   code +   comment +   connection +   css +   del.icio.us +   delete +   delicious +   dev +   dossier +   duplicate +   fichier +   Free:FreeBox +   freeware +   greasemonkey +   java +   libellules +   lien +   ligne +   link +   optimiser +   outil +   page +   probleme +   regxp +   script +   supprimer +   tag +   tool +   update +   userscript +   utilitaire +   windows +   xpath +