search for: page_cache_extension

Displaying 2 results from an estimated 2 matches for "page_cache_extension".

2006 Feb 04
4
Page caching feeds and cache file extensions
...generates RSS and Atom pages. I put ''caches_page :show'' in it. The problem is that the pages are saved with an html extension. As a result, browsers display the cached feeds as HTML rather than XML, and feed validators complain. There''s an option to set ''Base.page_cache_extension'' globally, but I don''t want to do that for everything. I also tried setting that option just in the show method, but that doesn''t work. How can I get the cached pages for just Feeds#show get saved with xml/rss/atom extensions? Thanks csn -- Posted via http://www.rub...
2005 Mar 16
6
caches_page problem
I''m currently caches_page the show method in my Image controller. The show method looks at @params[''id''] to determine what output should be generated. The first time I access the method, say with http://localhost/public/image/show/1.jpg, the appropriate directories get created in /public (i.e. public/image/show/1.jpg). However, when I try to retrieve