search for: page_cache_fil

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

Did you mean: page_cache_file
2006 Apr 11
11
I can''t get rails to see my plugin. How can I this?
...nce for any assistance. module ActionController::Caching::Pages::ClassMethods # Expires the page that was cached with the +path+ as a key. Example: # expire_page "/lists/show" def expire_each_page(path) return unless perform_caching benchmaddrk "EXPIRED ALL PAGES: #{page_cache_file(path)}" do File.delete(page_cache_path(path)) if File.exists?(page_cache_path(path)) Dir.foreach(page_cache_path(path)) {|x| benchmark ("Got " + x) } end end end -- Posted via http://www.ruby-forum.com/.
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