mod_zip and limit_rate

Maxim Dounin mdounin at mdounin.ru
Thu May 10 10:16:43 UTC 2012


Hello!

On Wed, May 09, 2012 at 02:25:10PM +0100, Jonathan Matthews wrote:

> On 9 May 2012 12:28, stelios <nginx-forum at nginx.us> wrote:
> > Ignore this msg. mod_zip works fine.
> >
> > The problem was limit_rate_after that I've put in at some point, so I
> > didn't download a large enough file to see the limit_rate kick in.
> 
> Just out of interest, does this combination of directives rate limit
> before or after the stream is zipped?

Directives limit_rate/limit_rate_after count (and limit) actual 
bytes sent to a client, i.e. after the stream is zipped (or 
gzipped, or whatever else).

Maxim Dounin



More information about the nginx mailing list