I have found myself including more and more external JS files from CDN sites and such. I always see that some sites include the MIME type when you copy the HTML code with the <script>
tag and some don't. What is the importance of including the MIME type? Are there browsers that won't support scripts without the MIME type?
Also I've heard that the "official" MIME type for JavaScript is application/javascript
but it seems like everyone uses text/javascript
. What are the implications of using either one?