mwrock / RequestReduce

Instantly makes your .net website faster by reducing the number and size of requests with almost no effort.
www.requestreduce.org
Apache License 2.0
228 stars 49 forks source link

Empty Constuctor #232

Open Sarkie opened 11 years ago

Sarkie commented 11 years ago

With Orchard, the bootstrapper stuff doesn't work, not sure if you want to take a look?

But for this workaround or fix (you decide :) ) I added an empty constructor, so I can add it into the web.config where I usually would add a dotless handler. This allows it to be hooked up and thus added to the minified .css files.

Sarkie commented 11 years ago

Also I was toying with the idea of creating a generic handler that does the same as the bootstrapper code in case it fails but didn't want it to do on every request.

mwrock commented 11 years ago

Thanks! I'll have a look.