Debug message "Resource interpreted as other but transferred with MIME type application/javascript"
        Posted  
        
            by Gary Pearman
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Gary Pearman
        
        
        
        Published on 2009-03-18T13:26:09Z
        Indexed on 
            2010/03/22
            10:41 UTC
        
        
        Read the original article
        Hit count: 729
        
OK, I understand what the messages means, but I'm really not sure what's causing it. I'm using Safari and the Web Inspector on Mac OS X, by the way.
I've got the following in my document head:
<script src="http://local.url/a/js/jquery.js" type="text/javascript"></script>
<script src="http://local.url/a/js/jquery.inplace.js" type="text/javascript"></script>
jquery.js is handled fine, but the other file causes the warning. It also seems that the javascript in this file never gets executed.
The file is being served via mod_deflate, so it is gzip encoded, but so is the other file.
Has anybody got any ideas what's causing this, or how to resolve it?
Cheers all, Gaz.
© Stack Overflow or respective owner