Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HTTP Refresh: header in image - ignored by browser?

0 views
Skip to first unread message

Phil

unread,
May 15, 2008, 12:22:14 PM5/15/08
to
Dear Experts,

I have just tried adding a "Refresh: 10" HTTP header to an image, and it
seems that my browser ignores it. Adding the header to the HTML page
containing the image works, but I was hoping that by refreshing only the
image I would save bandwidth and reduce flicker. Google finds some very
old documents that suggest that Refresh: should be usable with any
content type, not just HTML. Does anyone know what the story is?

The application is a webcam type of page, where the image should be
refreshed every minute or so. I'm testing with FF2.

Thanks for any suggestions.


Phil.

Andreas Prilop

unread,
May 16, 2008, 10:33:49 AM5/16/08
to
On Thu, 15 May 2008, Phil wrote:

> I have just tried adding a "Refresh: 10" HTTP header to an image,

There is no "Refresh" header field in HTTP as defined in RFC 2616.
However, there is "Expires".

Please refer to
<news:comp.infosystems.www.servers.unix>
or
<news:comp.infosystems.www.servers.ms-windows>

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell

Roderik

unread,
May 31, 2008, 3:45:51 PM5/31/08
to
Phil schreef:

Consider the use of javascript instead, in this AJAX age that shouldn't
be a problem to most users.

0 new messages