When a JavaScript file is sent over an HTTP connection, the entire file is sent, and then the preprocessor on the clientside will deal with the rest?
Therefore, would removing comments and whitespace in a .js file optimize a js file for transfer?
|
When a JavaScript file is sent over an HTTP connection, the entire file is sent, and then the preprocessor on the clientside will deal with the rest? Therefore, would removing comments and whitespace in a .js file optimize a js file for transfer?
| |||
feedback
|
|
I use Google Closure, gzip, and header cache tags to optimize my js transfer. | |||
|
feedback
|