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

Does RR work with ARR Reverse Proxy #209

Open flashtopia opened 12 years ago

flashtopia commented 12 years ago

I have not tested this, but trying to figure out if the scenario would work. Thinking about swapping out NginX and putting in place ARR reverse proxy.

Right now each site has Request Reduce in place. Would it make more sense to place RR on the Reverse Proxy site and have it reduce files served by the reverse proxy?

A little confused on what is best practice.

j-c commented 11 years ago

I've just tried RR with ARR. It works with a little fiddling.

You'd either need to modify the RR module's Init() so that you're calling InstallFilter() at the AcquireRequestState event, or call RequestReduce.Api.Registry.InstallResponseFilter() within Application_BeginRequest of your Global.asax