Opt-in to CORS for Progressive Web App caching
mtwalsh opened this issue · comments
Michael Walsh commented
Hi,
I'm using Web Font Loader in a Progressive Web App, but I'm not able to cache the font request it initiates because it returns an opaque response. Would it be possible to add a config option so that crossorigin="anonymous"
can be added to the link
element inserted into the head?
I think this might be the function in question:
https://github.com/typekit/webfontloader/blob/master/src/core/domhelper.js#L273