Try to zip the *.js file
Author
Zhou Renjian
Create@
2004-07-24 11:31

Try to zip the *.js:
1. trim all the indents
2. remove all the /*...*/ comments
3. remove all the // comments
4. " = " -> "=", " + " -> "+", " * " -> "*", " / " -> "/", " > " -> ">", ...
5. "}\n}" -> "}}"
6. "} else " -> "}else "
7. "} else {" -> "}else{"
8. delete all the blank line
9. trim the "{" and "}" in " if { (one expression); }"
10. trim all the tab
11. try to replace the variable's name into simple word, such as a, b, c, d, e, f, g, ...
12
====
It will save up to 30~40% of the bandwidth.