> I'm building a web page that periodically polls the server to display
> the status (OK, busy, loading, etc.)

jQuery doesn't actually check the returned contents from the server,
instead it sends the If-Modified-Since header to the server and checks
the Last-Modified response header coming back. Only if its the header
has been modified will jQuery actually report the data as also being
modified. This is an important distinction, and it relies upon your
script (if you're displaying things dynamically) you need to also
report a correct header. If you're only retrieving a static file,
smart web servers (like Apache) do this for you, so you don't need to
worry about it.

--John

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to