Re: Caching directory

Belorion
2005-07-03T16:21:09Z

> On 7/3/05, Matthew Denner
<matt-rdkfGonbjUS6Ep1eQ8kGe/TXAc8U3UkmXqFh9Ls21Oc@public.gmane.org> wrote:
> > Hi,
> >
> > In the beta book, on page 328, there is a setting called
> > ''ActionController::Base.page_cache_directory'', that
can be set to a
> > directory where the cached pages are stored.
> >
> > I tried setting this to ''cache'' and running under
WEBrick, but it broke
> > caching; it seems to be that WEBrick needs it to *always* be set to
> > ''public'' (the default value).  What are the rules
relating to this
> > setting in the various environments?  For example, how is it used when
> > running lighttpd?
> >
> > Matt

I can''t say for Webrick, but this happens when using Apache as well.
See http://dev.rubyonrails.com/ticket/1516.

Matt