Anyone?
On Jan 28, 6:52 pm, eggman2001
<sod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have in environment.rb:
> config.action_controller.page_cache_directory = RAILS_ROOT + "/public/
> cache"
>
> The following rules in lighttpd.conf:
> url.rewrite += ( "^/$" => "/cache/index.html" )
> url.rewrite += ( "^([^.]+)$" => "/cache/$1.html" )
>
> What I''m seeing is that if a page has already been cached (and
exists
> in public/cache), it gets served properly. However, if the page
hasn''t
> yet been cached, mongrel is looking for the cached page, can''t
find it
> and throws a Routing Error.
>
> I followed this article pretty
closely:http://www.railsenvy.com/2007/2/28/rails-caching-tutorial
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---