avoiding disk cache on proxy ?
is at rambler-co.ru
Tue Jan 16 23:10:03 MSK 2007
On Mon, 15 Jan 2007, Jonathan Vanasco wrote:
> nginx caches some of my pages to disk during proxy requests because it is too
> i'd like to avoid this as much as possible, as the disk io is annoying.
> can anyone recommend some settings for
> i'd like to avoid writing to disk entirely. i'd be fine with dedicate 20mb
> or so to this if needed.
You may use
But backend will be bound up with client during whole download time.
If nginx and backend are on the same host, it's better to use
the "X-Accel-Redirect" header.
More information about the nginx