1

We have dozens of scripts referenced in our web pages (MVC).

To optimize the site if i minify and merge all scripts into one file , do i need to update those dozen references in each webpage with the new combined file ?

If so is there a tool to automate the script references in all web pages with the new file or one has to do it manually ?

Any reference in this regard will be helpfull.

thanks

Deb
  • 981
  • 13
  • 39
  • This library is easy to use for creating bundles and minifying. Visit the project page for more info https://nuget.org/packages/RxLoader/ – Razor Jun 23 '13 at 02:20

1 Answers1

1

You can try bundling

http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification

Though this is an MVC 4 feature, you can use this in MVC 3 as well.

More reference:

MSDN

Nuget Path

ssilas777
  • 9,672
  • 4
  • 45
  • 68