I am using <link rel=preload> to preload an iframe.
e.g. <link rel="preload" href="https://example.com" as="document">
But Chrome and Edge giving me warning as <link rel=preload> uses an unsupported 'as' value
. Also cannot see any document request for https://example.com in Network tab.
Tried to remove the as
attribute but again it is throwing <link rel=preload> must have a valid 'as' value
warning.