proxy_cache ramdisk

Ryan Malayter malayter at
Mon Feb 1 06:05:19 MSK 2010

On Friday, January 29, 2010, AMP Admin <admin at> wrote:
> So I was thinking of creating a ramdisk and then pointing
> proxy_cache at the ramdisk… do you think that will be a good combo?

Works fine with the cache dir in /tmp on Ubuntu Linux. Tmpfs is a ram
disk solution.

> If so, to the people that use proxy_cache, how much space is
> it using on average so I can make it the right size?

Sizing totally depends on the sites and applications you are proxying.
As a start, look at your sites log files to see which files are hit
frequently , then add up their size.


More information about the nginx mailing list