Hi,
I have turned on caching and am using the action controller directive
caches_page for an action that returns an image file (used in the HTML
img src attribute). The first time I visit the page which contains
those img tags, all looks great and a bunch of pages are created in
the location where the cache is being stored (defaults to RAILS_ROOT +
"/public"). However, on the second visit, the page is missing some
images and when looking at the files in the cache directory, I notice
that the images which displayed correctly on the second visit contain
simply a binary image file. However, the files that did not work
contain some text like:
#<Proc:0x03dff400@C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/
action_controller/streaming.rb:68>
Does anyone know what is going on there? Is this a mongrel cache
problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---