Is it possible to merge several JavaScript files being used on a site into one? I’m looking to do this to minimize server loads by forcing only one download. This way I can keep my JavaScript organized into separate files and still have efficiency.
Share
You either need to have a batch process merge release scripts from your debug files (YUI compressor is a good tool and there is an API in .NET available on codeplex.com). Or, you can do what companies like Telerik do, create your own HTTP handler or module that’s responsible for merging the files yourself, not an easy task to do.
HTH.