Geeks With Blogs

Steve Clements .Net and then some.... December 2011 Entries
Minify JS and CSS in Visual Studio Build Events
It’s pretty widely accepted (and common sense) that if you’re putting a site out into the wild – such a simple task as minifying CSS and JavaScript files can save a bunch of load time, especially on mobile devices. I’ve been playing about with this today and was quite happily using jsmin as described here until I noticed that in IE 7 and IE 8 the minified CSS didn’t work. The problem seems to be when using a background style, it takes out the space between the image url close bracket and the next ......

Posted On Saturday, December 3, 2011 3:52 AM

Copyright © Steve Clements | Powered by: