Wednesday, 2 October 2013

IE10 caches page

IE10 caches page

I have a website that shows a preview of an image when the user add some
caption to it.
The flow is:
User see the /new page
It submits the caption (create), User is redirected to the /edit page (to
see the preview)
If there are changes it submits again (update), User is redirected to the
/edit page
When he is satisfied, he closes the page.
Everything works fine except in IE10, it creates the image with the
caption on the server, but it shows the old image when he is redirected to
/edit, even the inputs show the old text, after a F5 it shows the data
from the server.
So, I think it is caching the page. Chrome, Safari and Firefox work fine.
I'm working on Ruby on Rails.
Anyone knows a workfix?

No comments:

Post a Comment