Frage im Vorstellungsgespräch bei Trubates

What can you do to optimize JavaScript?

Antwort im Vorstellungsgespräch

Anonym

27. Dez. 2011

A1: Combine all the separate .js files into one big .js file. A2: Remove unneeded code, whitespace, semicolons and comments. A3: Use a tool like YUI Compressor to remove extra whitespace. A4: gzip the .js file