what does --without-http-cache mean?

Igor Sysoev is at rambler-co.ru
Wed Jun 17 13:49:25 MSD 2009


On Wed, Jun 17, 2009 at 01:24:02AM -0700, Michael Shadle wrote:

> is the cache enabled by default if the configure does not disable it
> out or in nginx.conf something is marked as "off" ?
> 
> i would assume it's not active unless you set the parameters for the
> cache you want.

Yes, to enable cache in nginx.conf, you need to describe at least one
proxy/fastcgi_cache_path and zone and use that zone in proxy/fastcgi_cache.

> 2009/6/16 Igor Sysoev <is at rambler-co.ru>:
> > On Wed, Jun 17, 2009 at 01:38:17PM +0800, XUFENG wrote:
> >
> >> Hi,
> >> What does --without-http-cache option mean when compiling Nginx?
> >> Is it related with proxy_store directive or some other things?
> >> I could not find any explicit docs about this.
> >> Thank you in advance.
> >
> > This option is related to proxy_cache... and fastcgi_cache_... directives.
> > Since the cache requires md5 functions, that may not exist on a host,
> > there is the option to disable the cache building.
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list