Does not look to have a Last-Modified header and I'm not seeing the xhr.status code (but I'm obviously getting something in the 200 range back as I'm receiving the data?) This comes via Firebug:
Response Headers Date Thu, 18 Dec 2008 17:48:49 GMT Server Apache/2.0.52 (CentOS) X-Powered-By PHP/4.3.9 Vary Accept-Encoding,User-Agent Content-Encoding gzip Content-Length 448 Keep-Alive timeout=15, max=43 Connection Keep-Alive Content-Type text/html Request Headers User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Accept */* Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive If-Modified-Since Thu, 01 Jan 1970 00:00:00 GMT X-Requested-With XMLHttpRequest On Dec 18, 2:42 am, Mike Alsup <mal...@gmail.com> wrote: > > $.ajax({ > > url: "livedata_fetch.php", > > ifModified: true, > > success: function(data){ > > $("div#livedata").html(data); > > } > > }); > > That's the correct way to do it. Does that page have a Last-Modified > header? Does the server return a 304 on subsequent requests?