Skip to content

Instantly share code, notes, and snippets.

@jeffochoa
Created October 13, 2017 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffochoa/99d6c3d9048bcf8109bf8728c959d0ba to your computer and use it in GitHub Desktop.
Save jeffochoa/99d6c3d9048bcf8109bf8728c959d0ba to your computer and use it in GitHub Desktop.
Chrome image async API
<!-- if possible: -->
<!-- the decode for this image may be deferred -->
<img async=on src="space-cats.jpg">
<!-- the decode for this image should not be deferred -->
<img async=off src="space-dogs.jpg">
<!-- the browser is free to do what it feels is best for the user -->
<img src="space-pizza.jpg">
<!-- Tweeted by @addyosmani here https://twitter.com/addyosmani/status/916391453076602880?s=09 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment