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.

New contributor
Ram marve is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.