I''m using send_file to send rather large SWF files that I''d
prefer the
end browser to cache to reduce my bandwidth usage.
I''ve used the method suggested by madrobby (http://mir.aculo.us/
2005/08/28/internet-explorer-and-ajax-image-caching-woes) to try to
catch the HTTP_IF_MODIFIED_SINCE request header, and then return HTTP
304 if necessary. However, this only seems to work reliably with
Firefox and IE7, and not Safari. Oddly, even with Firefox, I don''t
actually see the HTTP 304 response in my lighttpd logs though.
Does anyone know of a practical solution to this?
FYI, I''m using lighttpd with FCGI instances of my rails app.
TIA,
Mezza
--~--~---------~--~----~------------~-------~--~----~
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
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---