Anyone who works with CastleProject MonoRails MVC who knows if I can combine and/or compress formhelper and behaviour js files together into something like monorails.js?
I want to get the amount of webrequests as low as possible..
Anyone who works with CastleProject MonoRails MVC who knows if I can combine and/or compress formhelper and behaviour js files together into something like monorails.js?
I want to get the amount of webrequests as low as possible..
If loading the two javascript files together on one page isn't a problem then you'll get the same behavior out of concatenating them into a single file. While you're at it you can minify them as well: http://developer.yahoo.com/yui/compressor/
Peter's answer is good but there is a .NET implementation of YUI Compressor. I think it will be more preferable and useful for .Net projects.
I did this a while ago.
http://theusualsuspect.com/all-things-net/simple-js-and-css-compression-for-monorail