Performance: Automatically minify java script files with Visual Studio.
One of simplest ways to reduce network load is to minify java script files downloaded to a clients. By minifying I mean removing all “Enters”, “Tabs”, “Spaces”, Comments etc. all those that help us to turn our scripts into a readable story.
Since I’m a typical lazy software developer – I hate doing those manually, especially if it should be done each release… Another spoiler is that minifying java script converts it into barely readable bunch of string – not so pleasant to debug…
So I’ve found that grate article by Dave Ward that describes a way to integrate automatic java script file minifying into development lifecycle “Automatically minify and combine JavaScript in Visual Studio”.
Do it once … and do it right…