3 ms·
This is awesome. This allows to improve my load times after each deploy by several factors. Be aware that the example that is provided in the article is quite
by cientifico 3y ago
This is awesome.
This allows to improve my load times after each deploy by several factors.
Be aware that the example that is provided in the article is quite dangerous. If for any reason the content of the script is altered, the user will execute it anyway.
With normal scripts you have the integrity="sha-..." option that secures the content. With importmaps we only have a couple of github issues and no solution.
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
https://github.com/WICG/import-maps/issues/221 https://github.com/WICG/import-maps/issues/221
https://github.com/WICG/import-maps/issues/223 https://github.com/WICG/import-maps/issues/223
- orra 3y ago> With normal scripts you have the integrity="sha-..." option that secures the content. With importmaps we only have a couple of github issues and no solution. Yeah, I think it's a Bad Thing for security, to release importmaps without integrity.
- deleted 3y ago[deleted]