Created
July 13, 2020 12:05
-
-
Save charisTheo/d6cfd442489b4e40113634dd67bd2093 to your computer and use it in GitHub Desktop.
Inject resource hints (preload, prefetch, etc) while auditing a page using WebPageTest scripts. Use the textbox in Script (tab) > Enter Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
navigate https://www.example.com | |
addHeader Link: <images/example-image.jpg>; rel=preload; as=image | |
addHeader Link: <https://fonts.gstatic.com>; rel=preconnect | |
addHeader Link: </next-page-navigation>; rel=prefetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment