Re: JScript download stops others?
- From: "Anthony Jones" <Ant@xxxxxxxxxxxxxxxx>
- Date: Tue, 5 Sep 2006 21:20:45 +0100
"Dave Anderson" <NYRUMTPELVWH@xxxxxxxxxxxxx> wrote in message
news:e612BCR0GHA.1304@xxxxxxxxxxxxxxxxxxxxxxx
Anthony Jones wrote:or
That is strange. Events such as window onload should not fire
until all the scripts are loaded and parsed. The whole point
of defer is merely to give the user a look at the page as
early as possible, the page should not be ready for
interactive use until all the script is there.
I agree completely, though I can find little documentation from Microsoft
the W3C to support this.supposed
There was an interesting discussion over at the W3C earlier this year over
whether to adopt [DOMContentLoaded], an event which would not depend on
deferred scripts, but it was clear from the context that [Load] was
to wait for all elements to load.
However it doesn't surprise me that things would slip through
on IE.
What expiry and max-age do you put on these scripts?
We don't put anything on them. Remember, this is a vendor-supplied
application. LiveHTTPHeaders tells me that expiration and max-age are not
set, but Cache-Control and Pragma are:
Cache-Control: no-cache
Pragma: no-cache
Right so round tripping to the server for each JS file generating at least
304 if not a full 200 response every time. :( Perhaps you could persuade
the vendor to do something more sensible. ;)
Use
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message.
of this email address implies consent to these terms.
.
- Follow-Ups:
- Re: JScript download stops others?
- From: Dave Anderson
- Re: JScript download stops others?
- References:
- JScript download stops others?
- From: morgan . chengmo
- Re: JScript download stops others?
- From: Randy Webb
- Re: JScript download stops others?
- From: morgan . chengmo
- Re: JScript download stops others?
- From: Anthony Jones
- Re: JScript download stops others?
- From: Dave Anderson
- Re: JScript download stops others?
- From: Anthony Jones
- Re: JScript download stops others?
- From: Dave Anderson
- JScript download stops others?
- Prev by Date: Re: Title of new window
- Next by Date: Re: JScript download stops others?
- Previous by thread: Re: JScript download stops others?
- Next by thread: Re: JScript download stops others?
- Index(es):
Relevant Pages
|