Hi,
In my view I have the following cache:
<%- cache(:controller => ‘products’, :action => ‘index’, :action_suffix
=> ‘footer’) do -%>
…
<%- end -%>
And that’s the file generated:
tmp/cache/views/www.mysite.com/products.action_suffix=footer.cache
Why isn’t fragment caching picking up the :index option, and incorrectly
making use of action_suffix?
According to the API
(http://www.railsbrain.com/api/rails-2.1.2/doc/index.html?a=C00000103&name=ActionController::Caching::Fragments),
I should be getting the following filee:
tmp/cache/views/www.mysite.com/products/index/footer.cache
Any idea?