[spook-l] Refreshing JPEG snapshots

Vladimir Lasky vlasky at eng.uts.edu.au
Mon Jul 18 00:33:58 EDT 2005


G'day Nathan,

It appears that Mozilla/Firefox has a bug or limitation that causes the browser to cache JPEG snapshots unconditionally, i.e. they ignore that HTTP header that you added a while ago to prevent caching. This means that when you reload an image using a Javascript event handler, nothing changes.

The only way to fix this quickly, is to use the old trick with Javascript and the query string. e.g.

"http://server/stream1.jpg?" + new Date().getTime();

So this would mean modifying spook to ignore everything in the URL starting from the question mark. What are your thoughts?

Regards, Vlad.

-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender 
immediately and delete this message. Any views expressed in this message 
are those of the individual sender, except where the sender expressly, and 
with authority, states them to be the views the University of Technology, 
Sydney. Before opening any attachments, please check them for viruses and 
defects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.litech.org/pipermail/spook-l/attachments/20050718/9b839b7f/attachment.html


More information about the spook-l mailing list