IE9 and head.js load script twice

Using Head.js (0.9) and checking the loading of scripts from IE9, the IE9 developer's "Network" panel shows that javascripts are being loaded twice.

The first time the script is loaded with a HTTP result code of 200, after which the same script is reloaded with a result code of 304 (unchanged).

However, the script area and the script block show scripts loaded twice. This in turn makes one of the scripts (sIFR.js) dump its global sIFR object.

I suspect double loading is causing this.

Note. Chrome and Firefox work as expected.

Has anyone else seen this strange behavior?

+3
javascript internet-explorer-9 head.js


source to share


No one has answered this question yet

Check out similar questions:

1375
Where should I put <script> tags in my HTML markup?
1270
Why don't self-closing script elements work?
837
When is a CDATA section needed in a script tag?
70
307 Redirect when loading analytics.js in Chrome
21
Browser caching. Why is IE9 always showing http 304 when it really didn't hit the net?
13
Why is it inefficient for browsers to make 2 requests here?
6
It's ok if the script is loaded twice when viewed from developer tools
0
Error loading script file Head.js
0
Head.js only loads the first stylesheet in IE9 and below
0
Head.js not loading script files



All Articles
Loading...
X
Show
Funny
Dev
Pics