To reduce page content size I used asp.net 4.5 default minification system in my MVC 4 web application.
As per step 1 just use-
BundleTable.EnableOptimizations = true;
to minify all bundled js and css with no effort.
As per step 2 -
To make it functional set debug="false" in web.config file.
Step 1 |
BundleTable.EnableOptimizations = true;
to minify all bundled js and css with no effort.
Step 2 |
As per step 2 -
To make it functional set debug="false" in web.config file.
No comments:
Post a Comment