The JavaScript on my website loads several JSON to initialize itself.
I would like to preload them so, when the JavaScript will launch an Ajax request on it, they wi
I tried so many variations on the allowed values on https://w3c.github.io/preload/#as-attribute but the only thing that worked for me to fetch JSON data properly was removing the type
and as
directives completely and relying on the browser to figure it out. Works in the latest Chrome but I guess it might change as browser behaviour changes.