Welcome! Log In Create A New Profile

Advanced

Re: Proxy Cache and Range Requests

May 26, 2009 05:55AM
On Mon, May 25, 2009 at 05:18:25PM -0500, Resicow wrote:

> Hi Igor,
>
> Currently I am using proxy_cache, but have a question on how nginx
> handles range requests for a file that is not currently in cache. Will
> nginx simply proxy the file and not cache it, or download the entire
> file into cache, but just serve the range request to the client.

nginx gets the entire file and returns the range to the client.
There is issue with multiple ranges in one request (although this is
rare case, as I know only Acrobat Reader does such requests).
For the first request when response would be cached, nginx is able
to serve only first range of the request. But with already cached response
nginx is able to serve all ranges of the request.

> Congrats on 0.7.59, and keep up the great work!
>
> Thanks,
>
> John
>
>
>
> Igor Sysoev wrote:
> >Changes with nginx 0.7.59 25 May
> >2009
> >
> > *) Feature: the "proxy_cache_methods" and "fastcgi_cache_methods"
> > directives.
> >
> > *) Bugfix: socket leak; the bug had appeared in 0.7.25.
> > Thanks to Maxim Dounin.
> >
> > *) Bugfix: a segmentation fault occurred in worker process,
> > if a request had no body and the $request_body variable was used;
> > the bug had appeared in 0.7.58.
> >
> > *) Bugfix: the SSL modules might not built on Solaris and Linux;
> > the bug had appeared in 0.7.58.
> >
> > *) Bugfix: ngx_http_xslt_filter_module responses were not handled by
> > SSI, charset, and gzip filters.
> >
> > *) Bugfix: a "charset" directive did not set a charset to
> > ngx_http_gzip_static_module responses.
> >
> >
> >The 0.7.x version status is changed to stable.
> >While 0.7.x version development the following features appreared:
> >
> > *) caching of proxied and FastCGI servers;
> > *) "try_files" directive;
> > *) the "location" and "server_name" directives support captures
> > in regular expressions;
> > *) XLST and image filters;
> > *) a preliminary IPv6 support;
> > *) nginx/Windows.
> >
> >
> >
>

--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx-0.7.59

Igor Sysoev May 25, 2009 07:28AM

Re: nginx-0.7.59

Dave Cheney May 25, 2009 08:33AM

Re: nginx-0.7.59

deltay May 25, 2009 08:55AM

Good NewS!

fei May 25, 2009 09:44AM

Re: nginx-0.7.59

Floren Munteanu May 25, 2009 02:08PM

Re: nginx-0.7.59

Igor Sysoev May 25, 2009 02:27PM

Re: nginx-0.7.59

Floren Munteanu May 25, 2009 03:49PM

Proxy Cache and Range Requests

Resicow May 25, 2009 06:18PM

Re: Proxy Cache and Range Requests

Igor Sysoev May 26, 2009 05:55AM

Re: nginx-0.7.59

MichaƂ Jaszczyk May 26, 2009 05:05AM

Re: nginx-0.7.59

Maxim Dounin May 26, 2009 06:02AM

Re: nginx-0.7.59

Igor Sysoev May 26, 2009 06:00AM

Re: nginx-0.7.59

Michael Baudino May 26, 2009 08:20AM

Re: nginx-0.7.59

Igor Sysoev May 26, 2009 08:40AM

Re: nginx-0.7.59

Sergio Talens-Oliag May 26, 2009 10:34AM

Re: nginx-0.7.59

Wicked May 26, 2009 05:45PM

Re: nginx-0.7.59

fei May 27, 2009 12:51AM

Re: nginx-0.7.59

Wicked May 27, 2009 03:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready