-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove preload resource hint #102
Comments
Yes, this is entirely possible. The fact that this preload is added through JS likely addresses most of the problem though, since that means this image preload is definitely last in the queue behind any preloads found in the real HTML. And since it's a
hmm well yes this is probably true. :)
agree on both counts. it'll just find the resource in the cache and all is bueno. all in all, i think this particular preload has very little value, but i also don't think its causing much harm. |
Currently there is a
preload
hint for the poster image, however I would argue that we cannot assume that the poster image should always be preloaded (the user may have more critical resources or the video is outside of the initial viewport. Also, since therel="preload"
element is being added through JavaScript, I do not think it is really being preloaded and the gains are almost nil. And if a user wants to make use ofpreload
directly in the HTML, they will end up with duplicatelink
elements for the poster image (probably not a big deal).Where we are currently preloading:
The text was updated successfully, but these errors were encountered: