-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommend text/javascript
as the media type for JavaScript resources
#568
Comments
text/javascript
as the media type for scripts
text/javascript
as the media type for scriptstext/javascript
as the media type for JavaScript resources
I dont think this change is correct https://www.iana.org/assignments/media-types/application/javascript = OBSOLETE |
@gemal Historically, The HTML spec was also updated and recommends using See also: https://html.spec.whatwg.org/multipage/infrastructure.html#dependencies Note: For current user agents it shouldn't matter that much which of the two you use, but with this project we try to recommend what is considered the best option. Hope that clarifies things. |
From https://tools.ietf.org/html/draft-ietf-dispatch-javascript-mjs-00 |
https://www.rfc-editor.org/rfc/rfc4329.txt |
@maple3142 Please read the previous comments. Thanks! |
See also: whatwg/mimesniff#76. |
Ref:
The text was updated successfully, but these errors were encountered: