<!doctype html>
<html ⚡>
<head>
  <link rel="preload" href="https://cdn.ampproject.org/v0.css" as="style">
  <link rel="stylesheet" href="https://cdn.ampproject.org/v0.css">
  <script async src="https://cdn.ampproject.org/v0.mjs" type="module" crossorigin="anonymous"></script>
  <script async nomodule src="https://cdn.ampproject.org/v0/amp-experiment-0.1.js" custom-element="amp-experiment"></script>
  <script async custom-element="amp-experiment" src="https://cdn.ampproject.org/v0/amp-experiment-0.1.mjs" type="module" crossorigin="anonymous"></script>
  <script async nomodule src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js" custom-template="amp-mustache"></script>
  <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.mjs" type="module" crossorigin="anonymous"></script>
  <link href="https://example.com/favicon.ico" rel="icon">
  <link href="https://fonts.googleapis.com/css?foobar" rel="stylesheet" type="text/css">
  <link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload">
</head>
<body></body>
</html>
<!doctype html>
<html ⚡>
<head>
  <link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload">
  <link rel="preload" href="https://cdn.ampproject.org/v0.css" as="style">
  <link rel="stylesheet" href="https://cdn.ampproject.org/v0.css">
  <script async src="https://cdn.ampproject.org/v0.mjs" type="module" crossorigin="anonymous"></script>
  <script async nomodule src="https://cdn.ampproject.org/v0/amp-experiment-0.1.js" custom-element="amp-experiment"></script>
  <script async custom-element="amp-experiment" src="https://cdn.ampproject.org/v0/amp-experiment-0.1.mjs" type="module" crossorigin="anonymous"></script>
  <script async nomodule src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js" custom-template="amp-mustache"></script>
  <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.mjs" type="module" crossorigin="anonymous"></script>
  <link href="https://example.com/favicon.ico" rel="icon">
  <link href="https://fonts.googleapis.com/css?foobar" rel="stylesheet" type="text/css">
</head>
<body></body>
</html>
Update test with modulepreload link
Update test with modulepreload link
