If I have an action which can render multiple formats (e.g. html, js, rss), is it possible to page-cache all of these formats?
I can't see how to do it with 'caches_page'. It looks like you can only override 'page_cache_extension' at the class level:
http://github.com/rails/rails/blob/master/actionpack/lib/action_controller/caching/pages.rb#L49
I'd like to dynamically tie the page_cache_extension to my format somehow. Is this possible?
Thanks, -- Chad