buunguyen / combres

ASP.NET and MVC performance optimization library ⛺
Other
123 stars 36 forks source link

Allow serving resources via a resource URL #12

Open adardesign opened 11 years ago

adardesign commented 11 years ago

While i ma not sure on the exact implementation, But in many cases while loading resources. there is a need to have multiple resources loaded efficiently.

What i am looking for is:

path/to/combresResource?resources=resourceID1,resourceID2,resourceID3 which would generate (minify uglify etc.) all required resources?

Additionally, if one of the resources has a require statement, that should be combined too as part of the final requested resource..

Does this make sense?

buunguyen commented 9 years ago

This is an interesting idea. But for now, you can create multiple resource sets with overlapping resources.