jetheredge / SquishIt

Lets you *easily* bundle some css and javascript! Check out the Google group if you have questions!
http://groups.google.com/group/squishit
MIT License
459 stars 119 forks source link

Render referenced assets as standalone files but minified and hash-stamped #337

Open brgrz opened 8 years ago

brgrz commented 8 years ago

HTTP/2 is coming to IIS on Windows Server too (soon) and a feature that will immediately become useful if not essential is being able to render referenced assets not as a bundle but standalone, just minifying them and hash-stamping the file names.

That would aid in many standalone, easily cacheable files, which HTTP/2 prefers.

@AlexCuse what are your thoughts on this?

AlexCuse commented 8 years ago

I think this is a good thing to look into - 1.0 is currently delayed as I'm trying to revamp the configuration mechanism but that would be a good spot to do it I think.

Would .AsIndividualFiles() make sense as the name for the method on bundle?

brgrz commented 8 years ago

My guess is it would.