manifest.json与manifest.webmanifest [英] manifest.json vs manifest.webmanifest
问题描述
我正在使用mongodb,Node.JS和PWA开发应用程序.在开发的第一步中,我不知道manifest.json
有什么区别
和manifest.webmanifest
.
2019年11月更新
MDN(Mozilla开发人员网络)中提到了区别:
.webmanifest扩展名在规范的媒体类型注册"部分中指定(清单文件的响应应返回Content-Type:application/manifest + json).浏览器通常支持带有其他适当扩展名的清单,例如.json(内容类型:application/json).
您可以阅读以下详细信息:媒体类型注册 >
I'm developing an application using mongodb, Node.JS and PWA. In the first step of developing I don't know what is the difference between manifest.json
and manifest.webmanifest
.
November 2019 Update
The difference is mentioned in MDN (Mozilla Developer Network):
The .webmanifest extension is specified in the Media type registration section of the specification (the response of the manifest file should return Content-Type: application/manifest+json). Browsers generally support manifests with other appropriate extensions like .json (Content-Type: application/json).
You can read more details on: Media Type Registration
这篇关于manifest.json与manifest.webmanifest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!