I noticed the same. Because the caches uses the url_for() function
which does remove from the url any action=>''index''.
I''m looking for a fix too. I think you should either change url_for()
to show :action even if it''s ''index''. You''ll
end up with links like
"/controller/index" instead of "/controller" but it should
then fix
the cache which will write the file to "/controller/index.html" as you
would expect it to be.
On 8/19/06, Bill Christian <bill.christian@gmail.com>
wrote:> I am using lighttpd. I have a controller (headlines) with a caches_page
> :index. When invoked via http://0.0.0.0:3000/headlines/ I find a
> index.html cached in the public folder. The server did not create a
> headlines folder and place the cached index page within the controller
> directory as expected. Is there a configuration detail I need to change?
>
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
http://penso.info/