Re: Caching directory

Tom Wilcoxen
2005-07-03T14:01:17Z

Did you have the ''cache'' directory created? I used the similar
means
to change where my sessions are stored and it definitely breaks if the
directory isn''t there (with write permissions). But it works fine in
both development and production under webrick or apache/fastcgi if the
directory is there. But maybe it''s altogether different.

-Tom

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
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Tom Wilcoxen