{"id":14387,"date":"2024-01-03T13:35:22","date_gmt":"2024-01-03T13:35:22","guid":{"rendered":"https:\/\/blog.bachi.net\/?p=14387"},"modified":"2024-01-03T13:37:05","modified_gmt":"2024-01-03T13:37:05","slug":"javascript-mime-type","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=14387","title":{"rendered":"JavaScript MIME Type"},"content":{"rendered":"<p><a href=\"https:\/\/www.davidbcalhoun.com\/2010\/what-happens-when-we-serve-javascript-with-random-mime-types\/\">What happens when we serve JavaScript with random MIME types?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/189850\/what-is-the-javascript-mime-type-for-the-type-attribute-of-a-script-tag\">What is the javascript MIME type for the type attribute of a script tag? [duplicate]<\/a><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/script\">mdn web docs &#8211; script: The Script element<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/whatwg\/html\/issues\/558\">add +module to mime type for script type=module #558<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What happens when we serve JavaScript with random MIME types? What is the javascript MIME type for the type attribute of a script tag? [duplicate] mdn web docs &#8211; script: The Script element add +module to mime type for script type=module #558<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14387","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/14387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14387"}],"version-history":[{"count":2,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/14387\/revisions"}],"predecessor-version":[{"id":14390,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/14387\/revisions\/14390"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}