I am setting the src attribute of an img tag in javascript to get a new
image from a website that generates the image. For each image URL requested,
the response always includes a Last-Modified record in the header. Sometimes
Firefox includes an If-Modified-Since record in the request header, but
sometimes it does not. This prevents the server from responding with a 304
response as it should when the response has not changed. I do not see this
behavior in IE, but have in FF 2.x and FF 3.x.
When a browser requests the same URL twice, and the first request's response
contains a Last-Modified record in the header, the 2nd request should
include the If-Modified-Since record.
Why isn't the If-Modified-Since record included in these requests? Not in
cache anymore?
Sounds like a query to a developer. Try newsgroup mozilla.dev.apps.firefox
--
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!
> Not sure this is the right forum, if not where?
mozilla.dev.web-development or, as Ron said, mozilla.dev.apps.firefox
> I am setting the src attribute of an img tag in javascript to get a
> new image from a website that generates the image. For each image URL
> requested, the response always includes a Last-Modified record in the
> header. Sometimes Firefox includes an If-Modified-Since record in the
> request header, but sometimes it does not. This prevents the server
> from responding with a 304 response as it should when the response
> has not changed. I do not see this behavior in IE, but have in FF 2.x
> and FF 3.x.
Could be <https://bugzilla.mozilla.org/show_bug.cgi?id=456996>.
Comments there link to a firebug bug, in case you're using firebug.
--
»Q« /"\
ASCII Ribbon Campaign \ /
against html e-mail X
<http://asciiribbon.org/> / \