4 ms·
>Doing the minification before the application starts saves time from a pipeline minifying on the fly. That would only affect a cold-start (app pool recycle) o
by Novashi 8y ago
>Doing the minification before the application starts saves time from a pipeline minifying on the fly.
That would only affect a cold-start (app pool recycle) or a view recompile before that'd be an performance concern, unless I don't understand how/when views are cached and then evicted from cache.
If you have a lot of views with a lot of partial views inside them, then yeah, you'd only want to run minification once on the final view, instead of for every partial view. I'm not sure if you'd have (or want) that much control over the view rendering process.
Btw it's a cool post if you're the author.
- bobblywobbles 8y agoYes, those points are true. And yes, I am the author.