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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25697</bug_id>
          
          <creation_ts>2014-05-13 21:57:26 +0000</creation_ts>
          <short_desc>[imports]: why can imports be sync?</short_desc>
          <delta_ts>2014-05-14 18:56:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20683</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105923</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-13 21:57:26 +0000</bug_when>
    <thetext>&quot;an import that is blocking scripts&quot;

Isn&apos;t this exactly the kind of thing we learnt from style sheets we should never do? Making anything synchronous will just make performance worse, no?

Isn&apos;t the best practice going to be to make them async and then have code handle the components and stuff coming in later? e.g. the way Google+ loads a static version of itself and then fixes itself up so that it loads &quot;REALLY FAST&quot; but isn&apos;t actually interactive until sometime after it&apos;s loaded?

Why not make them all async?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105986</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-14 18:56:44 +0000</bug_when>
    <thetext>Spoke with dglazkov. It&apos;s only legacy &lt;script&gt; elements that are sync. &lt;script type=module&gt;, &lt;script&gt; inside rel=import files, style sheets, and other &lt;link&gt;s, are not blocked.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>