Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enable preload links for responsive hero images which have srcset and sizes attributes. This is disabled by default because only Chrome supports imagesrcset and imagesizes on preload links. This eliminates the Optimizer from raising this notice: CannotPreloadImage: Not preloading the hero image because of the presence of a srcset attribute…
@westonruter

This comment has been minimized.

Copy link
Owner Author

@westonruter westonruter commented Jan 31, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment