This project is read-only.

[Feature Request] - Minify and load into memory all bundles on Application_Start

May 27, 2014 at 10:36 PM
Hello, I'm not sure how to request a new Feature. Hopefully, this is acceptable. If not, please point me in the right direction .

I would like to be able to Minify and Bundle all my files on Application_Start, instead of first .Render().

In high traffic websites, multiple users will request .Render() almost instantaneously. This created an issue when we extended ScriptBundle or StyleBundle. ApplyTransformation executed more than once!

For example, I extended Script and Style Bundle to implement a cachebuster with CDN. The full discussion is here : ( However, when I went live with it, the cachebuster value was added 3-5 times to each bundle. The current work around is to lookup the CDN value, and if it already contains the hash, then do not add it again.