Josh Peek
2007-Sep-23 00:57 UTC
Ticket #8614: Default page cache path to the current request path
Currently, cache_page regenerates the cached path from the current params (controller, action, etc). By default, page should be cached at the path they are requested for (doesn''t that only make sense?). Example map.root :controller => "welcome" GET / Caches output to "public/welcome/index.html" when we want it to be at "public/index.html". http://dev.rubyonrails.org/ticket/8614 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
DHH
2007-Sep-23 21:59 UTC
Re: Ticket #8614: Default page cache path to the current request path
Applied. On Sep 22, 7:57 pm, Josh Peek <joshp...@gmail.com> wrote:> Currently, cache_page regenerates the cached path from the current > params (controller, action, etc). By default, page should be cached at > the path they are requested for (doesn''t that only make sense?). > > Example > map.root :controller => "welcome" > GET / > > Caches output to "public/welcome/index.html" when we want it to be at > "public/index.html". > > http://dev.rubyonrails.org/ticket/8614--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---