<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>158720</bug_id>
          
          <creation_ts>2016-06-13 19:53:19 -0700</creation_ts>
          <short_desc>Add support for &lt;link rel=preload&gt;</short_desc>
          <delta_ts>2020-05-11 09:19:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://w3c.github.io/preload/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>158466</dependson>
    
    <dependson>159872</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="sideshowbarker">mike</reporter>
          <assigned_to name="Yoav Weiss">yoav</assigned_to>
          <cc>addyo</cc>
    
    <cc>beidson</cc>
    
    <cc>d</cc>
    
    <cc>igrigorik</cc>
    
    <cc>jaffathecake</cc>
    
    <cc>katano3065</cc>
    
    <cc>webkit</cc>
    
    <cc>yoav</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1202062</commentid>
    <comment_count>0</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2016-06-13 19:53:19 -0700</bug_when>
    <thetext>Preload provides a declarative fetch primitive that initiates an early, high-priority, and non-render-blocking fetch and separates fetching from resource execution.
Declaratively specifies which resources (e.g., fonts) the user agent must fetch early to improve page performance.

- spec: https://w3c.github.io/preload/
- use cases: https://w3c.github.io/preload/#use-cases

Browser-engine support:

- Blink: Shipped in Chrome 50 https://developers.google.com/web/updates/2016/03/link-rel-preload?hl=en
- Edge: “Priority: Medium — Development is likely for a future release” https://developer.microsoft.com/en-us/microsoft-edge/platform/status/preload
- Gecko: Open feature bug https://bugzilla.mozilla.org/show_bug.cgi?id=1222633</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202114</commentid>
    <comment_count>1</comment_count>
    <who name="Yoav Weiss">yoav</who>
    <bug_when>2016-06-14 00:22:52 -0700</bug_when>
    <thetext>I&apos;m currently implementing this feature (but failing to assign this issue to myself *shrug*).

Related bugs:
https://bugs.webkit.org/show_bug.cgi?id=156334 - initial preload support
https://bugs.webkit.org/show_bug.cgi?id=157988 - Preload single download tests.
https://bugs.webkit.org/show_bug.cgi?id=156773 - LayoutTest http/tests/preload/dynamic_remove_preload_href.html is flaky on Mac and iOS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253631</commentid>
    <comment_count>2</comment_count>
    <who name="Yoav Weiss">yoav</who>
    <bug_when>2016-11-24 23:57:36 -0800</bug_when>
    <thetext>Also related: https://bugs.webkit.org/show_bug.cgi?id=158466</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1301706</commentid>
    <comment_count>3</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2017-04-26 11:37:07 -0700</bug_when>
    <thetext>Please note the tests at http://w3c-test.org/html/dom/reflection-metadata.html for link.as.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1312649</commentid>
    <comment_count>4</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2017-05-25 08:54:31 -0700</bug_when>
    <thetext>I imagine it&apos;s in-progress, but neither fetch() or XHR appear to use the preload cache in the latest technology preview.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340642</commentid>
    <comment_count>5</comment_count>
    <who name="Addy Osmani">addyo</who>
    <bug_when>2017-08-21 10:47:55 -0700</bug_when>
    <thetext>Hey Yoav. Are there other blocking bugs to complete the link rel=preload implementation atm? Just came across https://bugs.webkit.org/show_bug.cgi?id=161952 but you might be keeping track of others.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1341030</commentid>
    <comment_count>6</comment_count>
    <who name="Yoav Weiss">yoav</who>
    <bug_when>2017-08-22 03:32:42 -0700</bug_when>
    <thetext>No, just lost track of this issue :)

I think we can close this meta-bug and open new ones for eventual issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>