Are you sure that time.time() is evaluating rather than just being text? If you're just appending "?rand=time.time()" to your page, then you'll be having the exact same problem. If you're appending "?rand=" + time.time() then you'll have better luck.
On Nov 19, 12:02 pm, vcarney <vincecar...@gmail.com> wrote: > Doing a redirect to the page with ?rand=time.time() did not work > either. > > On Nov 19, 12:47 pm, vcarney <vincecar...@gmail.com> wrote: > > This can be replicated in ie8 100% of the time and FF about 10% of the > > time. > > > On Nov 19, 12:42 pm, vcarney <vincecar...@gmail.com> wrote: > > > > I have a custom settings form with a photo field: photo = > > > forms.ImageField(max_length=200, required=False) > > > > On submission with a new photo being uploaded, I delete any existing > > > image including its parent folder and replace with the new one. When > > > the settings page is reloaded, the old image is still displayed. > > > However, if I do a power refresh in the browser, ctrl+F5 the cache is > > > removed and the uploaded image displays fine. > > > > Here are some of the response headers from the server: > > > > HTTP/1.1 200 OK > > > Server: nginx/0.7.65 > > > Date: Fri, 19 Nov 2010 18:32:38 GMT > > > Content-Type: image/jpeg > > > Connection: keep-alive > > > Last-Modified: Fri, 19 Nov 2010 18:32:34 GMT > > > Etag: "1a0685-d65-4956c214f7f1b" > > > Accept-Ranges: bytes > > > Content-Length: 3429 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.