PWA Manifest MIME Type – web-app-manifest
-
I am seeing HUGE load times and delays on my shared host with ONLY the manifest file. That is the only file that is really badly affected. The file size is ridiculously small, and it compresses well so there are no issues there.
The only problem I can find is related to the MIME Type and the fact that there is no extension associated with it in the current PWA solution.
Here is what W3C says:
NOTE: manifest.webmanifest or manifest.json?
The official file extension for the manifest is .webmanifest. Some web servers recognize this extension and transfer the file using the standardized application manifest MIME type (application/manifest+json). Developers can also choose a different extension (e.g. .json) or none at all (e.g. /api/GetManifest), but are strongly encouraged to transfer the manifest using the application/manifest+json MIME type.===
How hard would it be to change the file generation to use the .webmanifest extension? This would then allow the application/manifest+json direct association and provide greater processing control through htaccess or at the file server level.
Does that make sense or is that a wrong assumption?
If it is worth trying, do you have a suggestion on how I can make a simple change to try this with the .webmanifest extension?Thoughts?
- The topic ‘PWA Manifest MIME Type – web-app-manifest’ is closed to new replies.