title: Runtime dynamic bundling and minifying in MVC 4
body: <p>I was wondering if anybody can help me with bundling and minifying using the new optimization namespace shipped with MVC 4.
  I have a Multitenant-application in which I want to decide which js files should be loaded based on settings per user. One approach would be to create all bundles upfront and change the virtual path of resolvebundleurl based on the setting of the user, but that feels not really the right way.
  Also I have dynamic css in a cshtml view based on user-settings, which I would like to have minified in runtime.</p>
  
  <p>Any suggestions? I also see a lot of reactions in other questions to check out Requestreduce, but they are all from the same user. </p>
  
  <p>What would be the best approach to handle both situations?</p>
  
  <p>Thanks in advance!</p>