comopasta Gr
2008-Aug-01 21:33 UTC
Update picture and not show the one in the browser cache?
Hi,
I''m able to upload a pic and updated it later.
My problem now is that after uploading the old picture is shown, it is
taken from the browser cache I guess.
In my app I only cache js and css.
I''ve tried:
expire_page "/tabs/#{@tab.id}"
redirect_to(@tab)
But it doesn''t go away until I press F5 in the browser. Then the update
picture is shown.
Any hints?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---