This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Description
Right now if we see:
<link rel=preload as=font href=...>
or:
<link rel=preload as=document href=...>
we will strip the preload hint. We should instead only be stripping hints for resources we optimize:
<link rel=preload as=script href=...>
<link rel=preload as=style href=...>
<link rel=preload as=image href=...>
Specifically, if as is something other than script, style, or image we should leave the hint alone.