Top "Bundling-and-minification" questions

Bundling and minification are used to optimize web content by reducing the number of requests to the server and as well as the size of requested assets (such as CSS and JavaScript).

Bundling not working in MVC5 when I turn on release mode

I have the following bundle configured in BundleConfig.cs: bundles.Add(new StyleBundle("~/bundles/css").Include( "~/assets/bootstrap/css/bootstrap.…

c# css .net asp.net-mvc bundling-and-minification
Absolute URL in ASP bundle

I use a jQuery library for Google Maps, and it depends on the Google scripts to be loaded first. I'd …

asp.net-mvc asp.net-mvc-4 asp.net-optimization bundling-and-minification
MVC4 style bundle giving 403

When bundling/minification is enabled, some of my bundles seem to have an invalid URL in the browser (ending with …

.net asp.net-mvc razor asp.net-mvc-4 bundling-and-minification
CssRewriteUrlTransform with or without virtual directory

We are using MVC Bundling in our site, CssRewriteUrlTransform makes sure that the image urls work from the dynamic bundle …

c# asp.net-mvc-4 bundling-and-minification web-optimization
How to set debug false for release mode

I have this web.config file with the compilation option set as below Web.config <configuration> ... <system.…

asp.net asp.net-mvc asp.net-mvc-4 bundling-and-minification web.config-transform
Exclude module from webpack minification

We are using WebPack in a single page application. The application is deployed to many environments. We have a requirement …

javascript webpack bundling-and-minification
Make ASP.NET bundling specify media=screen for CSS bundle

I'm just trying out ASP.NET 4.5 bundling and minification, and ran into an issue. I've got around 10 css files, of …

asp.net-mvc asp.net-mvc-4 bundling-and-minification asp.net-optimization
ASP.NET MVC4 Bundling with Twitter Bootstrap

I'm trying to use the new bundling feature in MVC 4 with Twitter bootstrap and it seems to me like the …

asp.net twitter-bootstrap asp.net-mvc-4 bundling-and-minification asp.net-optimization
how to debug Minification failed. Returning unminified contents

I am using Asp.net MVC 4 bundler to bundle and minify my Css files. YSlow is showing this error below /* …

asp.net-mvc bundling-and-minification
How does webopt:bundlereference work in ASP.Net?

In the default template of the ASP.Net web forms for Visual Studio 13, there is a tag webopt: <webopt:…

asp.net webforms bundling-and-minification web-optimization